summaryrefslogtreecommitdiff
path: root/test/files/neg/t8777.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2015-06-30 13:48:56 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-06-30 13:48:56 -0700
commitc8fbc41631da0a860f749479a610312814c0e88f (patch)
tree4c9b6759469530454b95b3fd2ac600e1042941da /test/files/neg/t8777.check
parent6ca8847eb5891fa610136c2c041cbad1298fb89c (diff)
parent4a61719c1a3b57b47aa65409e83b87cff39145d3 (diff)
downloadscala-c8fbc41631da0a860f749479a610312814c0e88f.tar.gz
scala-c8fbc41631da0a860f749479a610312814c0e88f.tar.bz2
scala-c8fbc41631da0a860f749479a610312814c0e88f.zip
Merge pull request #4569 from retronym/ticket/6985
SI-6895 Test cases to explain the limitations in tcpoly inference
Diffstat (limited to 'test/files/neg/t8777.check')
-rw-r--r--test/files/neg/t8777.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t8777.check b/test/files/neg/t8777.check
new file mode 100644
index 0000000000..cd05f1ec11
--- /dev/null
+++ b/test/files/neg/t8777.check
@@ -0,0 +1,6 @@
+t8777.scala:3: error: type mismatch;
+ found : Foo.this.TreePrinter(in trait Printers)
+ required: Foo.this.TreePrinter(in trait Printers)
+ super.newCodePrinter(out, tree, printRootPkg)
+ ^
+one error found