diff options
-rw-r--r-- | test/files/neg/bug664.check | 9 | ||||
-rwxr-xr-x | test/files/neg/bug664.scala (renamed from test/files/pos/bug664.scala) | 0 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/bug664.check b/test/files/neg/bug664.check new file mode 100644 index 0000000000..9c99613374 --- /dev/null +++ b/test/files/neg/bug664.check @@ -0,0 +1,9 @@ +parent types scala.ScalaObjectList(java.lang.Object) +parent types scala.ScalaObjectList(java.lang.Object) +bug664.scala:4 error: type Foo is not a member of test.Test with scala.ScalaObject + trait Foo extends super.Foo { + ^ +bug664.scala:5 error: type Bar is not a member of java.lang.Object with scala.ScalaObject + trait Bar extends super.Bar; + ^ +two errors found diff --git a/test/files/pos/bug664.scala b/test/files/neg/bug664.scala index f3b8d06053..f3b8d06053 100755 --- a/test/files/pos/bug664.scala +++ b/test/files/neg/bug664.scala |