diff options
Diffstat (limited to 'test/files/neg/vincent1.check')
-rw-r--r-- | test/files/neg/vincent1.check | 4 |
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 |