diff options
Diffstat (limited to 'test/files/neg/bug152.check')
-rw-r--r-- | test/files/neg/bug152.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug152.check b/test/files/neg/bug152.check new file mode 100644 index 0000000000..fddfbfa879 --- /dev/null +++ b/test/files/neg/bug152.check @@ -0,0 +1,4 @@ +bug152.scala:5: type foo.type escapes its defining scope as part of scala.Object { def a: foo.T } +class Bar(foo: Foo) { + ^ +one error found |