diff options
Diffstat (limited to 'test/neg')
-rw-r--r-- | test/neg/S2.scala | 2 | ||||
-rw-r--r-- | test/neg/altherr1.scala | 2 | ||||
-rw-r--r-- | test/neg/altherr2.scala | 2 | ||||
-rw-r--r-- | test/neg/altherr3.scala | 2 | ||||
-rw-r--r-- | test/neg/vincent1.scala | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/test/neg/S2.scala b/test/neg/S2.scala index 83cc1829a3..47687a916a 100644 --- a/test/neg/S2.scala +++ b/test/neg/S2.scala @@ -7,7 +7,7 @@ ** def t = foo(x, y); ** ^ */ -module M { +object M { def foo[T](x: T, y: T): T = x; class S2() { class Inner() extends S2() {} diff --git a/test/neg/altherr1.scala b/test/neg/altherr1.scala index 69443bfd06..9eb0cc9987 100644 --- a/test/neg/altherr1.scala +++ b/test/neg/altherr1.scala @@ -1,6 +1,6 @@ case class Foo[a](); -module Bug { +object Bug { def foo[a](): Foo[a] = foo[a](); foo() match { case _ => 0 } } diff --git a/test/neg/altherr2.scala b/test/neg/altherr2.scala index 41bcffca36..6ab26526f7 100644 --- a/test/neg/altherr2.scala +++ b/test/neg/altherr2.scala @@ -1,6 +1,6 @@ trait Foo[a]; -module Bug { +object Bug { def foo[a](): Foo[a] = foo[a](); foo()[Int]; } diff --git a/test/neg/altherr3.scala b/test/neg/altherr3.scala index bb40099e1e..a96513e832 100644 --- a/test/neg/altherr3.scala +++ b/test/neg/altherr3.scala @@ -1,6 +1,6 @@ // $Id$ -module bug { +object bug { //########################################################################## diff --git a/test/neg/vincent1.scala b/test/neg/vincent1.scala index 53104be640..6082b271b3 100644 --- a/test/neg/vincent1.scala +++ b/test/neg/vincent1.scala @@ -1,4 +1,4 @@ -module test { +object test { trait A { type T; } |