diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-10 13:59:03 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-12 12:07:42 +0200 |
commit | 63207e115a46634d47446a87a7f4bc3c2651b0e7 (patch) | |
tree | b5b79a9faa7b2e9e9f1cbe56723374fe1508e0b5 /build.xml | |
parent | 2ac6dc03088ecec871838d23aeb688d0e3d4eefb (diff) | |
download | scala-63207e115a46634d47446a87a7f4bc3c2651b0e7.tar.gz scala-63207e115a46634d47446a87a7f4bc3c2651b0e7.tar.bz2 scala-63207e115a46634d47446a87a7f4bc3c2651b0e7.zip |
isAnonymousClass/Function for delambdafy classes is not true
Ydelambdafy:method lambda classes are not anonymous classes, and not
anonymous function classes either. They are somethig new, so there's
a new predicate isDelambdafyFunction.
They are not anonymous classes (or functions) because anonymous
classes in Java speak are nested. Delambdafy classes are always
top-level, they are just synthetic.
Before this patch, isAnonymous was sometimes accidentailly true: if
the lambda is nested in an anonymous class. Now it's always false.
Diffstat (limited to 'build.xml')
-rwxr-xr-x | build.xml | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1512,7 +1512,12 @@ TODO: <!-- =========================================================================== BINARY COMPATIBILITY TESTING ============================================================================ --> - <target name="bc.init" depends="init" unless="maven-deps-done-mima"> + <target name="bc.init" depends="init" if="test.bc.skip"> + <!-- if test.bc.skip is set, make sure that pc.prepare is not executed either --> + <property name="maven-deps-done-mima" value="true"/> + </target> + + <target name="bc.prepare" depends="bc.init" unless="maven-deps-done-mima"> <property name="bc-reference-version" value="2.11.0"/> <property name="bc-build.dir" value="${build.dir}/bc"/> @@ -1530,7 +1535,7 @@ TODO: </target> <target name="test.bc-opt" description="Optimized version of test.bc."> <optimized name="test.bc"/></target> - <target name="test.bc" depends="bc.init, pack.lib, pack.reflect"> + <target name="test.bc" depends="bc.prepare, pack.lib, pack.reflect" unless="test.bc.skip"> <bc.check project="library"/> <bc.check project="reflect"/> </target> |