summaryrefslogtreecommitdiff
path: root/test/files/run/StubErrorTypeDef.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2017-03-27 17:11:09 -0700
committerGitHub <noreply@github.com>2017-03-27 17:11:09 -0700
commit03d5f4ee9242f048e86ad9196740b04852c3b738 (patch)
tree2f629f7e8cd6bc22bf839516e36a9d631e9351b9 /test/files/run/StubErrorTypeDef.check
parent99f41a15d16be6707b6c33b5a16093e016db81eb (diff)
parent9cfa239e776c2ce6bd7447fd9de8436c5fe167ab (diff)
downloadscala-03d5f4ee9242f048e86ad9196740b04852c3b738.tar.gz
scala-03d5f4ee9242f048e86ad9196740b04852c3b738.tar.bz2
scala-03d5f4ee9242f048e86ad9196740b04852c3b738.zip
Merge pull request #5804 from jvican/stub-errors-2.11.8
Backport 2.11.9: Improve stub error messages (SCP-009 proposal)
Diffstat (limited to 'test/files/run/StubErrorTypeDef.check')
-rw-r--r--test/files/run/StubErrorTypeDef.check16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/run/StubErrorTypeDef.check b/test/files/run/StubErrorTypeDef.check
new file mode 100644
index 0000000000..955d9b0880
--- /dev/null
+++ b/test/files/run/StubErrorTypeDef.check
@@ -0,0 +1,16 @@
+error: newSource1.scala:4: overriding type D in class B with bounds <: stuberrors.A;
+ type D has incompatible type
+ new B { type D = E }
+ ^
+error: newSource1.scala:4: Symbol 'type stuberrors.A' is missing from the classpath.
+This symbol is required by 'type stuberrors.B.D'.
+Make sure that type A is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
+A full rebuild may help if 'B.class' was compiled against an incompatible version of stuberrors.
+ new B { type D = E }
+ ^
+error: newSource1.scala:4: Symbol 'type stuberrors.A' is missing from the classpath.
+This symbol is required by 'class stuberrors.E'.
+Make sure that type A is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
+A full rebuild may help if 'E.class' was compiled against an incompatible version of stuberrors.
+ new B { type D = E }
+ ^