diff options
author | Martin Odersky <odersky@gmail.com> | 2014-08-31 18:08:32 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-31 18:08:32 +0200 |
commit | 47b1d735e8323b2587aeb4b2a7ce5e214d9f1f8d (patch) | |
tree | acca2788c66b97ee4b20f8e29acdb6130b3832f9 /test | |
parent | 8f321f2afd0cd363492665b410a70476c8a4b751 (diff) | |
download | dotty-47b1d735e8323b2587aeb4b2a7ce5e214d9f1f8d.tar.gz dotty-47b1d735e8323b2587aeb4b2a7ce5e214d9f1f8d.tar.bz2 dotty-47b1d735e8323b2587aeb4b2a7ce5e214d9f1f8d.zip |
New phase: outerAccessors
The new phase replaces attachOuter. It creates outer accessors where needed
but does not yet define outer parameters or pass outer arguments.
It should run before pattern matcher, so that pattern matcher can access the
outer fields of scrutinees.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 89dd42bc2..843489df9 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -13,7 +13,7 @@ class tests extends CompilerTest { // "-Yshow-suppressed-errors", "-pagewidth", "160") - implicit val defaultOptions = noCheckOptions ++ List("-Ycheck:all") + implicit val defaultOptions = noCheckOptions ++ List("-Ycheck:outerAcc,erasure") val twice = List("#runs", "2", "-YnoDoubleBindings", "-Ystop-before:terminal") val doErase = List("-Ystop-before:terminal") |