summaryrefslogtreecommitdiff
path: root/test/files/neg/t0764.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t0764.check')
-rw-r--r--test/files/neg/t0764.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t0764.check b/test/files/neg/t0764.check
new file mode 100644
index 0000000000..0c7cff1e1e
--- /dev/null
+++ b/test/files/neg/t0764.check
@@ -0,0 +1,7 @@
+t0764.scala:13: error: type mismatch;
+ found : Node{type T = _1.type} where val _1: Node{type T = NextType}
+ required: Node{type T = Main.this.AType}
+ (which expands to) Node{type T = Node{type T = NextType}}
+ new Main[AType]( (value: AType).prepend )
+ ^
+one error found