legacy-svn-scala/test
extempore c8354bb691 Made it possible to supply a custom Global to the core scala runners.
The absence of "Global pluggability", combined with the fact that most
of the functionality in Global is unnecessarily rigid due to the phases
being implemented as objects, means that it has been close to impossible
to do interesting compiler development in a way which doesn't require
modifying the scalac source tree. This then leaves you continually
subject to punishment by code drift as the various places you were
forced to modify change out from under you.

This is somewhat less true now, thanks to new option:  -Yglobal-class

The primary wielders of Global (fsc/scala/scalac) now instantiate
the compiler via a (Settings, Reporter) => Global factory method in
the Global companion. If -Yglobal-class was given, that class (which
must have a (Settings, Reporter) constructor) will be instantiated if
possible, falling back on the standard one.  See

  test/files/pos/CustomGlobal.scala

for a working example. (It's not in run because I would have to be able
to give partest a different set of flags for successive compiles in the
same test.) Review by odersky.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25600 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-09-01 02:31:55 +00:00
..
attic/files/cli If I work on this patch any longer without checking in I 2010-04-05 06:24:22 +00:00
benchmarks Sped up traversal over mutable maps by a factor of two. 2011-08-01 22:44:52 +00:00
checker-tests A patch authored by martin to fix one of the big outstanding 2010-12-01 21:16:28 +00:00
debug Added test.debug target to build.xml. This will run whatever 2010-03-08 19:58:10 +00:00
disabled Renamed tests named bugXXX to tXXX, no review. 2011-08-24 17:11:55 +00:00
disabled-windows/script If I work on this patch any longer without checking in I 2010-04-05 06:24:22 +00:00
files Made it possible to supply a custom Global to the core scala runners. 2011-09-01 02:31:55 +00:00
instrumented Added a test case for anyref specialization. Fixed some bugs in normalized term rewriting. 2011-02-09 15:46:50 +00:00
long-running/jvm Added test for #2078. 2009-06-22 13:46:34 +00:00
pending Renamed tests named bugXXX to tXXX, no review. 2011-08-24 17:11:55 +00:00
scaladoc Fixes SI-4507. Actually I can't reproduce this bug. No review. 2011-08-11 16:02:53 +00:00
simplejson updates to review script 2009-11-13 16:10:35 +00:00
support/annotations If I work on this patch any longer without checking in I 2010-04-05 06:24:22 +00:00
partest Tweaks repl tests to enforce -Yrepl-sync and other setup on all 2011-06-10 17:32:05 +00:00
partest.bat Updated copyright notices to 2011 2011-01-20 15:32:51 +00:00
postreview.py review board scipt 2009-11-13 15:53:11 +00:00
review another minor change to teh review script 2009-11-16 10:55:59 +00:00