From 97d89afc4769c4badb42284c9b5d97b663f870f6 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 25 Aug 2014 19:13:34 +0200 Subject: Fixes to erasure Makes erasure pass the test suite. Erasure is not yet turned turned on by default, because TestNonCyclic fails with a stale symbol error. The problem is that This types are coupled to Symbols and therefore don't reload. This is a problem is This types refer to static symbols that get recompiled. We either have to drop using This types for static references, or redefine thme so that can be reloaded. --- test/dotc/tests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 387bab97f..35f85c4d8 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -17,7 +17,7 @@ class tests extends CompilerTest { "-Ycheck:literalize" ) - val twice = List("#runs", "2", "-YnoDoubleBindings"/*, "-Ystop-before:terminal"*/) + val twice = List("#runs", "2", "-YnoDoubleBindings", "-Ystop-before:terminal") val doErase = List("-Ystop-before:terminal") val posDir = "./tests/pos/" -- cgit v1.2.3