summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/S2.scala2
-rw-r--r--test/files/neg/altherr1.scala2
-rw-r--r--test/files/neg/altherr2.scala2
-rw-r--r--test/files/neg/altherr3.scala2
-rw-r--r--test/files/neg/vincent1.scala2
5 files changed, 5 insertions, 5 deletions
diff --git a/test/files/neg/S2.scala b/test/files/neg/S2.scala
index 83cc1829a3..47687a916a 100644
--- a/test/files/neg/S2.scala
+++ b/test/files/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/files/neg/altherr1.scala b/test/files/neg/altherr1.scala
index 69443bfd06..9eb0cc9987 100644
--- a/test/files/neg/altherr1.scala
+++ b/test/files/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/files/neg/altherr2.scala b/test/files/neg/altherr2.scala
index 41bcffca36..6ab26526f7 100644
--- a/test/files/neg/altherr2.scala
+++ b/test/files/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/files/neg/altherr3.scala b/test/files/neg/altherr3.scala
index bb40099e1e..a96513e832 100644
--- a/test/files/neg/altherr3.scala
+++ b/test/files/neg/altherr3.scala
@@ -1,6 +1,6 @@
// $Id$
-module bug {
+object bug {
//##########################################################################
diff --git a/test/files/neg/vincent1.scala b/test/files/neg/vincent1.scala
index 53104be640..6082b271b3 100644
--- a/test/files/neg/vincent1.scala
+++ b/test/files/neg/vincent1.scala
@@ -1,4 +1,4 @@
-module test {
+object test {
trait A { type T; }