scala/scala — pull request #998 by odersky (2012-07-26 14:05:41+00:00)
Title: 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.

Review my @moors, @dragos