cushon / issues-import

0 stars 0 forks source link

WrappedTreeNode collision with constant folded strings #209

Closed cushon closed 9 years ago

cushon commented 9 years ago

Original issue created by mdempsky@google.com on 2013-11-13 at 12:15 AM


During parsing, javac not only applies constant folding to figure out that "a" + "b" has the value "ab", but it also seems to synthesize a tree node for "ab". Bizarrely, somehow both of them end up in the resulting AST, which causes collisions.

cushon commented 9 years ago

Original comment posted by mdempsky@google.com on 2013-11-13 at 09:03 PM


This issue was closed by revision 0fbe0275c783.


Status: Fixed