Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.4, 2.0-beta-1
-
None
-
None
Description
When an expression is transformed through Expression#transformExpression, we must make sure to copy node metadata, otherwise this information can be lost for further processing.
It is important for static compilation which relies on node metadata computed by the static type checker. This inferrence information is lost after the OptimizerVisitor has transformed expressions.