-
Sub-task
-
Resolution: Delivered
-
P3
-
10
-
Verified
New Class AST nodes with an enclosing instance that incorrectly return a null have been fixed. In some cases, the `getEnclosingExpression()` method of the NewClassTree AST node was returning null for code like:
```
<enclosing>.new <Class>(...) { ... }
```
This has been fixed, and getEnclosingExpression() now returns the enclosing expression.
```
<enclosing>.new <Class>(...) { ... }
```
This has been fixed, and getEnclosingExpression() now returns the enclosing expression.