diff options
author | Martin Odersky <odersky@gmail.com> | 2012-07-26 16:03:47 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2012-07-26 16:03:47 +0200 |
commit | 54bab793ae6fbe3219efa8ef2e6a0015bbab7666 (patch) | |
tree | a865e801db829846de5235484628f0c44fd7da04 /test/files/run/t3651.scala | |
parent | ad08f24448729009fc8d5ff0acf307a43b4cfe0a (diff) | |
download | scala-54bab793ae6fbe3219efa8ef2e6a0015bbab7666.tar.gz scala-54bab793ae6fbe3219efa8ef2e6a0015bbab7666.tar.bz2 scala-54bab793ae6fbe3219efa8ef2e6a0015bbab7666.zip |
Avoids loading scala.package and scala.reflect.package from source if a classfile exists.
We know that loading these packages from source leads to compilation errors. To reproduce: Update scala.reflect.package, make sure it is on the source path and recompile anything using it. You will get a number of errors having to do with ClassTags and macro expansions. With the patch, these errors go away because the package is not loaded as long as a classfile exists.
Diffstat (limited to 'test/files/run/t3651.scala')
0 files changed, 0 insertions, 0 deletions