Open lombokissues opened 9 years ago
:bust_in_silhouette: reinierz :clock8: Sep 17, 2012 at 14:10 UTC
Map<String, Number> m = Collections.emptyMap();
val foo = randomBoolean ? m : Collections.<String, Number>emptyMap();
The above works in ecj, but not in javac.
:bust_in_silhouette: reinierz :clock8: Oct 29, 2012 at 22:17 UTC
Crud - we can't reproduce this at all. I guess it takes more than just the above sample code to trigger this bug because I can pretty specifically recall it happened.
At any rate, the above snippet has been introduced as testcase 'ValLub.java'. We'll have to keep an eye out and, next time, put more effort into double-checking the smallest snippet that is (supposed to!) be the minimum code for reproducing it.
End of migration
Migrated from Google Code (issue 416)