diff options
author | Martin Odersky <odersky@gmail.com> | 2015-02-11 19:20:46 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-02-11 19:22:56 +0100 |
commit | 023c7bcb8a582a64455d23363e13ab84707ffc8b (patch) | |
tree | 6221a9787dc95832b76f7a7e5fcbc45d87338f47 /src/dotty/tools/dotc/Compiler.scala | |
parent | f1aa075b818cd7ff110ec3316a7713154c15daf8 (diff) | |
download | dotty-023c7bcb8a582a64455d23363e13ab84707ffc8b.tar.gz dotty-023c7bcb8a582a64455d23363e13ab84707ffc8b.tar.bz2 dotty-023c7bcb8a582a64455d23363e13ab84707ffc8b.zip |
Added test to TreeChecker that guards against orphan parameters.
Currently, tests fail. The failures I checked are all related to tailcalls.
Not sure whether there are others.
This is a blocker for serialization. Orphan parameters cannot be serialized.
Maybe rethink the position of tailcalls? It looks to me that the repeated trouble it gives us is
more than the effort required to put an efficient tailcall recognition after pattern matching in place.
But I might be wrong.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r-- | src/dotty/tools/dotc/Compiler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala index 721b52b2e..403aa1157 100644 --- a/src/dotty/tools/dotc/Compiler.scala +++ b/src/dotty/tools/dotc/Compiler.scala @@ -41,7 +41,7 @@ class Compiler { List(new FirstTransform, new SyntheticMethods), List(new SuperAccessors), - // pickling goes here + //List(new Pickler), // Pickler needs to come last in a group since it should not pickle trees generated later List(new RefChecks, new ElimRepeated, new ElimLocals, |