forked from scala/scala
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request scala#3894 from adriaanm/depmsg
Better error message than 'bad symbolic reference'.
- Loading branch information
Showing
6 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pos: source-newSource1.scala,line-9,offset=109 bad symbolic reference to <root>.pack1 encountered in class file 'U.class'. | ||
Cannot access term pack1 in package <root>. The current classpath may be | ||
missing a definition for <root>.pack1, or U.class may have been compiled against a version that's | ||
incompatible with the one found on the current classpath. ERROR | ||
pos: source-newSource1.scala,line-9,offset=109 missing or invalid dependency detected while loading class file 'U.class'. | ||
Could not access term pack1 in package <root>, | ||
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 'U.class' was compiled against an incompatible version of <root>. ERROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
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 | ||
pos: NoPosition missing or invalid dependency detected while loading class file 'U.class'. | ||
Could not access type T in package pack1, | ||
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 'U.class' was compiled against an incompatible version of pack1. ERROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters