aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala4
-rw-r--r--compiler/test/dotc/tests.scala8
2 files changed, 4 insertions, 8 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
index 66cfcf453..51f08a295 100644
--- a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
+++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala
@@ -555,8 +555,8 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table, posUnpickle
val tp = readType()
val lazyAnnotTree = readLater(end, rdr => ctx => rdr.readTerm()(ctx))
annots += Annotation.deferredSymAndTree(tp.typeSymbol, _ => lazyAnnotTree.complete)
- case _ =>
- assert(false, s"illegal modifier tag at $currentAddr")
+ case tag =>
+ assert(false, s"illegal modifier tag $tag at $currentAddr, end = $end")
}
}
(flags, annots.toList, privateWithin)
diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala
index a485484c2..827e1addd 100644
--- a/compiler/test/dotc/tests.scala
+++ b/compiler/test/dotc/tests.scala
@@ -47,10 +47,10 @@ class tests extends CompilerTest {
| - DOTTY_INTERFACES
| - DOTTY_EXTRAS
|
- |Where these all contain locations, except extras which is a comma
+ |Where these all contain locations, except extras which is a colon
|separated list of jars.
|
- |When compiling with eclipse, you need the sbt-interfaces jar, but
+ |When compiling with eclipse, you need the sbt-interfaces jar, put
|it in extras."""
)
file.getAbsolutePath
@@ -349,10 +349,6 @@ class tests extends CompilerTest {
@Test def tasty_tests = compileDir(testsDir, "tasty", testPickling)
@Test def tasty_bootstrap = {
- val f = new JFile(getClass.getProtectionDomain.getCodeSource.getLocation.getPath)
- println(f)
- println(System.getProperty("java.class.path"))
-
val opt = List("-priorityclasspath", defaultOutputDir, "-Ylog-classpath")
// first compile dotty
compileDir(dottyDir, ".", List("-deep", "-Ycheck-reentrant", "-strict"))(allowDeepSubtypes)