summaryrefslogtreecommitdiff
path: root/test/files/neg/t7636.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-07-29 12:00:04 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-07-29 12:00:04 -0700
commit79009e350c5490bb5baf3e2993da18e2abc1dafa (patch)
tree11cfa4483752a0ec57c960b165f75bc2288f7157 /test/files/neg/t7636.check
parentf3f1064c90371449949892f30de91cc1f2662c55 (diff)
downloadscala-79009e350c5490bb5baf3e2993da18e2abc1dafa.tar.gz
scala-79009e350c5490bb5baf3e2993da18e2abc1dafa.tar.bz2
scala-79009e350c5490bb5baf3e2993da18e2abc1dafa.zip
Rename t7636-neg.check to the standard t7636.check.
Not sure which partest bug allowed this, but the old name was wrong.
Diffstat (limited to 'test/files/neg/t7636.check')
-rw-r--r--test/files/neg/t7636.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t7636.check b/test/files/neg/t7636.check
new file mode 100644
index 0000000000..f70d50bee3
--- /dev/null
+++ b/test/files/neg/t7636.check
@@ -0,0 +1,10 @@
+t7636.scala:3: error: illegal inheritance;
+ self-type Main.C does not conform to Main.ResultTable[_$3]'s selftype Main.ResultTable[_$3]
+ class C extends ResultTable(Left(5):Either[_,_])(5)
+ ^
+t7636.scala:3: error: type mismatch;
+ found : Either[_$2,_$3(in constructor C)] where type _$3(in constructor C), type _$2
+ required: Either[_, _$3(in object Main)] where type _$3(in object Main)
+ class C extends ResultTable(Left(5):Either[_,_])(5)
+ ^
+two errors found