summaryrefslogtreecommitdiff
path: root/test/files/neg/vincent1.check
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-03-17 12:26:27 +0000
committerpaltherr <paltherr@epfl.ch>2003-03-17 12:26:27 +0000
commit9d8a37ee5c2d38b0e580560521ffdbd54d1b9981 (patch)
tree1f1e17a1ee64765a51289b64cc361dc028165aa2 /test/files/neg/vincent1.check
parent9a4819a03326a8f399d5e398844907b98f299008 (diff)
downloadscala-9d8a37ee5c2d38b0e580560521ffdbd54d1b9981.tar.gz
scala-9d8a37ee5c2d38b0e580560521ffdbd54d1b9981.tar.bz2
scala-9d8a37ee5c2d38b0e580560521ffdbd54d1b9981.zip
- Added .check files
Diffstat (limited to 'test/files/neg/vincent1.check')
-rw-r--r--test/files/neg/vincent1.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/vincent1.check b/test/files/neg/vincent1.check
new file mode 100644
index 0000000000..576386a839
--- /dev/null
+++ b/test/files/neg/vincent1.check
@@ -0,0 +1,4 @@
+vincent1.scala:7: type x.type escapes its defining scope as part of test.B with {type T = x.T}
+ def functor(x: A): B with { type T = x.T } =
+ ^
+one error found