diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/bug4533.check | 4 | ||||
-rw-r--r-- | test/files/neg/bug4533.scala | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/bug4533.check b/test/files/neg/bug4533.check new file mode 100644 index 0000000000..e1b60aa820 --- /dev/null +++ b/test/files/neg/bug4533.check @@ -0,0 +1,4 @@ +bug4533.scala:6: error: erroneous or inaccessible type + def statusByAlarms(alarms: GenTraversableOnce[FooAlarm]) = println("hello") + ^ +one error found diff --git a/test/files/neg/bug4533.scala b/test/files/neg/bug4533.scala new file mode 100644 index 0000000000..0346b5d1d5 --- /dev/null +++ b/test/files/neg/bug4533.scala @@ -0,0 +1,8 @@ +package demo + +import scala.collection._ + +class CrashDemo { + def statusByAlarms(alarms: GenTraversableOnce[FooAlarm]) = println("hello") +} +class FooAlarm { } |