aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/VarInFor.java
AgeCommit message (Collapse)Author
2018-02-07[var] various upgrades to var:Reinier Zwitserloot
* var is promoted to the main package. * It is no longer an opt-in thing. * bug: var (unlike val) is allowed in old-style for loops, but if you multi-init: for (var i = 0, j="Foo";;), you now get an error that you can't do that. * tests both for the multi-for situation and the new main package variant.
2016-10-26The @var annotation has been moved to the experimental package.Bulgakov Alexander
Added a test of a @var variable with null initialization.
2016-10-24added supporting of @var variables. The @var annotation has the same ↵Bulgakov Alexander
functionality as the @val except 'final' modifier.