summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-06-24 16:42:49 +0000
committerMartin Odersky <odersky@gmail.com>2003-06-24 16:42:49 +0000
commit9114fea991c7960ce9a53cbd45cb3dcc72980898 (patch)
tree3270e0b513b6a610320d412e36a01343877de193 /test/files/pos
parenta424426552bd2f25b76765f4f03cff92ee048fe9 (diff)
downloadscala-9114fea991c7960ce9a53cbd45cb3dcc72980898.tar.gz
scala-9114fea991c7960ce9a53cbd45cb3dcc72980898.tar.bz2
scala-9114fea991c7960ce9a53cbd45cb3dcc72980898.zip
*** empty log message ***
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/infer.scala2
-rw-r--r--test/files/pos/infer2.scala2
-rw-r--r--test/files/pos/patterns3.scala4
3 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/infer.scala b/test/files/pos/infer.scala
index adb586b73e..24871458b3 100644
--- a/test/files/pos/infer.scala
+++ b/test/files/pos/infer.scala
@@ -1,4 +1,4 @@
-module test {
+object test {
class List[+a] {
def ::[b >: a](x: b): List[b] = new Cons(x, this);
}
diff --git a/test/files/pos/infer2.scala b/test/files/pos/infer2.scala
index 5e93446cdf..66f3d76544 100644
--- a/test/files/pos/infer2.scala
+++ b/test/files/pos/infer2.scala
@@ -1,4 +1,4 @@
-module test {
+object test {
def f[a, b <: a](x: b): a = x: a;
def g[a >: b, b](x: b): a = x: a;
diff --git a/test/files/pos/patterns3.scala b/test/files/pos/patterns3.scala
index 6caa834852..001bd8989f 100644
--- a/test/files/pos/patterns3.scala
+++ b/test/files/pos/patterns3.scala
@@ -1,5 +1,5 @@
-module M {
+object M {
val Tuple2(Tuple2(x, y), _) = Tuple2(Tuple2(1, 2), 3);
-} \ No newline at end of file
+}