summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-07-20 12:55:27 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-07-20 12:55:27 +0200
commite5161f01111c88de4f890c7541a6ff5e7be58916 (patch)
treedb1ed298a7a4fed5d4a3fafadc114b0ae6da35d7 /build.xml
parent0b1667b85675ef321587252c12878fc1b52888dd (diff)
downloadscala-e5161f01111c88de4f890c7541a6ff5e7be58916.tar.gz
scala-e5161f01111c88de4f890c7541a6ff5e7be58916.tar.bz2
scala-e5161f01111c88de4f890c7541a6ff5e7be58916.zip
evicts calls to reify from our codebase
Until reflection design is stabilized (i.e. 2.10.0 final is released), it's a good idea to refrain from using reify in our codebase (either directly in quasiquotes, or indirectly via materialized type tags). This increases the percentage of changes to reflection that don't require rebuilding the starr. The change to build.xml will expose reifications going on during our build (by printing out their results to the console, so that they bug everyone), making it easier to spot and fix them.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 8fa1b9cd76..160a699ca2 100644
--- a/build.xml
+++ b/build.xml
@@ -397,7 +397,7 @@ INITIALISATION
</target>
<target name="init" depends="init.jars, init.maven.jars, init.version.done, init.fail.bad.jdk, init.warn.jdk7">
- <property name="scalac.args.always" value="" />
+ <property name="scalac.args.always" value="-Yreify-copypaste" />
<!-- scalac.args.optimise is selectively overridden in certain antcall tasks. -->
<property name="scalac.args.optimise" value=""/>
<!-- scalac.args.quickonly are added to quick.* targets but not others (particularly, locker.)