gwt /
gwt /
c2fb405dcfddd39dc02925ad6ef4424da9f0ea03 Fixes issue 2446. Autoboxing was not handled correctly when a box type was used with ++, --, or
a compound assignment such as += . This patch leaves alone GenerateJavaAST but adds
a FixAssignmentToUnbox normalization to handle these trees. FixAssignmentToUnbox
first breaks apart compound assignments using CompoundAssignmentNormalizer and then fixes up
the resulting erroneous assignment statements, all of which are of the form "unbox(x) = expression".
Additionally, the JJS JTypeOracle is updated so that before the first call to setInstantiatedTypes(), all
types are considered instantiated.
Review by: scottb
git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.5@3073 8db76d5a-ed1c-0410-87a9-c151d255dfc7
8 files changed