ExpressionTreeVisualizer icon indicating copy to clipboard operation
ExpressionTreeVisualizer copied to clipboard

Verify that nested closure classes work properly

Open zspitz opened this issue 6 years ago • 0 comments

I saw a compiler generated expression where the closure class instance was itself an instance of another closure class:

LambdaExpression
  - Body: MemberAccessExpression
      - Expression: MemberAccessExpression - <instance of closure class>
          - Constant: <instance of second closure class>

The code formatters have been fixed to treat members of an expression whose type is a closure classes as simple variables, even when the instance of said member is itself only the member of another closure class.

Nevertheless, I am unable to reproduce in tests, so I am leaving this open for now.

zspitz avatar Mar 12 '19 07:03 zspitz