Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExpressionValueComparer is missing comparison for ArrayAccess #646

Open
chostelet opened this issue Jun 7, 2018 · 1 comment
Open

ExpressionValueComparer is missing comparison for ArrayAccess #646

chostelet opened this issue Jun 7, 2018 · 1 comment

Comments

@chostelet
Copy link
Contributor

'Reko.Core.Expressions.ExpressionValueComparer' fails when accessing 'eqs' dictionary when arguments are of type 'ArrayAccess'.

@chostelet
Copy link
Contributor Author

chostelet commented Jun 7, 2018

But adding a comparison for 'ArrayAccess' (on Index, Array and DataType) triggers a TypeInferenceException exception in TypedExpressionRewriter.VisitBinaryExpression() considering the expression to be too complex (both items being 'IsComplex' (?) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant