diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-07-24 12:14:54 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-02 15:51:08 +0200 |
commit | 5e1a0052523349775be1cc98b4094c44804f1240 (patch) | |
tree | 61d7348b1ccb0fd4f340e07a56df2a8e291f13ce /test/files | |
parent | f126f40b8c83be96404fc5fbd50b26b694bb9e86 (diff) | |
download | scala-5e1a0052523349775be1cc98b4094c44804f1240.tar.gz scala-5e1a0052523349775be1cc98b4094c44804f1240.tar.bz2 scala-5e1a0052523349775be1cc98b4094c44804f1240.zip |
removes -Xmacro-(.*)-classpath compiler options
These options were meant to be used to bootstrap macros defined in our codebase
However we can bootstrap perfectly without any additional effort, because
library classpath classloader can delegate to tool classpath classloader to
load macro implementations from starr.
Since then (for several months) this functionality hasn't proven to be useful,
neither anyone on the mailing list or stackoverflow asked questions about it
(even despite it was explicitly mentioned in the "cannot load macro impl"
error message).
Hence I suggest that it is totally unnecessary and should be removed.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/macro-basic-mamdmi.check | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/files/neg/macro-basic-mamdmi.check b/test/files/neg/macro-basic-mamdmi.check index eef444f7b3..67b00c0ec5 100644 --- a/test/files/neg/macro-basic-mamdmi.check +++ b/test/files/neg/macro-basic-mamdmi.check @@ -1,5 +1,4 @@ Impls_Macros_Test_1.scala:36: error: macro implementation not found: foo (the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
-if you do need to define macro implementations along with the rest of your program, consider two-phase compilation with -Xmacro-fallback-classpath in the second phase pointing to the output of the first phase
println(foo(2) + Macros.bar(2) * new Macros().quux(4))
^
one error found
|