diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-07-22 14:45:12 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-07-22 17:59:37 +0200 |
commit | c4360481251fdec0599598c24da400a8bace3247 (patch) | |
tree | ce56388549bf644a4eb51d1dc08041b35ce4d809 /test/files/neg | |
parent | 73fb460c1cd20ee97556ec0867d17efaa795d129 (diff) | |
download | scala-c4360481251fdec0599598c24da400a8bace3247.tar.gz scala-c4360481251fdec0599598c24da400a8bace3247.tar.bz2 scala-c4360481251fdec0599598c24da400a8bace3247.zip |
Better error message than 'bad symbolic reference'.
Let's not scare people, and try to give them some advice.
PS: we should really come up with a better mechanism for testing errors/warnings
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t5148.check | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/files/neg/t5148.check b/test/files/neg/t5148.check index 8a667f4b88..0de4fe2d4c 100644 --- a/test/files/neg/t5148.check +++ b/test/files/neg/t5148.check @@ -1,5 +1,6 @@ -error: bad symbolic reference to scala.tools.nsc.interpreter.IMain.Request encountered in class file 'Imports.class'. -Cannot access type Request in class scala.tools.nsc.interpreter.IMain. The current classpath may be -missing a definition for scala.tools.nsc.interpreter.IMain.Request, or Imports.class may have been compiled against a version that's -incompatible with the one found on the current classpath. +error: missing or invalid dependency detected while loading class file 'Imports.class'. +Could not access type Request in class scala.tools.nsc.interpreter.IMain, +because it (or its dependencies) are missing. Check your build definition for +missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) +A full rebuild may help if 'Imports.class' was compiled against an incompatible version of scala.tools.nsc.interpreter.IMain. one error found |