summaryrefslogtreecommitdiff
path: root/test/files/run/t6440b.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-14 13:43:22 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-14 15:41:29 -0700
commitb310d8c2e862d0a0db505eed8a29c15520fba845 (patch)
tree64637d3598a9441640fa7245c94fecf1654cddbe /test/files/run/t6440b.check
parentefc0905f6b7a78bf3b454fbd9adb50aab5ffe20d (diff)
downloadscala-b310d8c2e862d0a0db505eed8a29c15520fba845.tar.gz
scala-b310d8c2e862d0a0db505eed8a29c15520fba845.tar.bz2
scala-b310d8c2e862d0a0db505eed8a29c15520fba845.zip
SI-4492 More informative error when class not found on classpath
Position the error based on Select tree that failed to type check, presumably due to an underlying MissingRequirementError, which has no position. There are lots of other ways we could rewrap a MRE and supplement position info, but that remains TODO. Jason's review comment is recorded in the code. Also try to detect the case of a missing module and provide some advice, as well as linking to the forthcoming 2.11 guide at http://docs.scala-lang.org/overviews/core/scala-2.11.html.
Diffstat (limited to 'test/files/run/t6440b.check')
-rw-r--r--test/files/run/t6440b.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/t6440b.check b/test/files/run/t6440b.check
index 9771ce5efb..0b642c2c35 100644
--- a/test/files/run/t6440b.check
+++ b/test/files/run/t6440b.check
@@ -1,4 +1,4 @@
-pos: NoPosition bad symbolic reference. A signature in U.class refers to type T
-in package pack1 which is not available.
-It may be completely missing from the current classpath, or the version on
-the classpath might be incompatible with the version used when compiling U.class. ERROR
+pos: NoPosition bad symbolic reference to pack1.T encountered in class file 'U.class'.
+Cannot access type T in package pack1. The current classpath may be
+missing a definition for pack1.T, or U.class may have been compiled against a version that's
+incompatible with the one found on the current classpath. ERROR