From d850636479c5d1b192c5239d9a5ca7bc0bd82385 Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Tue, 5 Aug 2008 10:36:52 +0000 Subject: All these tests in pending currently pass for me. Lets see what happens with the commit and nightly builds. --- test/files/pos/bug1049.scala | 7 +++++++ test/files/pos/bug1050.scala | 10 ++++++++++ test/files/pos/bug1087.scala | 2 ++ test/files/pos/bug229.scala | 3 +++ test/files/run/exoticnames.check | 0 test/files/run/exoticnames.scala | 7 +++++++ test/pending/pos/bug1049.scala | 7 ------- test/pending/pos/bug1050.scala | 10 ---------- test/pending/pos/bug1087.scala | 2 -- test/pending/pos/bug229.scala | 3 --- test/pending/run/exoticnames.check | 0 test/pending/run/exoticnames.scala | 7 ------- 12 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 test/files/pos/bug1049.scala create mode 100644 test/files/pos/bug1050.scala create mode 100644 test/files/pos/bug1087.scala create mode 100644 test/files/pos/bug229.scala create mode 100644 test/files/run/exoticnames.check create mode 100644 test/files/run/exoticnames.scala delete mode 100644 test/pending/pos/bug1049.scala delete mode 100644 test/pending/pos/bug1050.scala delete mode 100644 test/pending/pos/bug1087.scala delete mode 100644 test/pending/pos/bug229.scala delete mode 100644 test/pending/run/exoticnames.check delete mode 100644 test/pending/run/exoticnames.scala (limited to 'test') diff --git a/test/files/pos/bug1049.scala b/test/files/pos/bug1049.scala new file mode 100644 index 0000000000..452259b9f8 --- /dev/null +++ b/test/files/pos/bug1049.scala @@ -0,0 +1,7 @@ +package bug1049 + +abstract class Test { + type T <: A + class A requires T + class B requires T extends A +} diff --git a/test/files/pos/bug1050.scala b/test/files/pos/bug1050.scala new file mode 100644 index 0000000000..8ca79716a9 --- /dev/null +++ b/test/files/pos/bug1050.scala @@ -0,0 +1,10 @@ +package bug1050 + +abstract class A { + type T <: scala.ScalaObject + class A requires T { + def b = 3 + def c = b + b + } +} diff --git a/test/files/pos/bug1087.scala b/test/files/pos/bug1087.scala new file mode 100644 index 0000000000..19d62116c6 --- /dev/null +++ b/test/files/pos/bug1087.scala @@ -0,0 +1,2 @@ +case class Foo +case class Prd (pred : Char => Boolean) extends Foo diff --git a/test/files/pos/bug229.scala b/test/files/pos/bug229.scala new file mode 100644 index 0000000000..0922499c6c --- /dev/null +++ b/test/files/pos/bug229.scala @@ -0,0 +1,3 @@ +class Test extends java.util.ArrayList[Object] { + override def add(index: int, element: java.lang.Object): unit = {} +} diff --git a/test/files/run/exoticnames.check b/test/files/run/exoticnames.check new file mode 100644 index 0000000000..e69de29bb2 diff --git a/test/files/run/exoticnames.scala b/test/files/run/exoticnames.scala new file mode 100644 index 0000000000..7c8dcea5e8 --- /dev/null +++ b/test/files/run/exoticnames.scala @@ -0,0 +1,7 @@ +// this is a run-test because the compiler should emit bytecode that'll pass the JVM's verifier +object Test extends Application { + def `(` = error("bla") + def `.` = error("bla") + def `)` = error("bla") + def `,` = error("bla") +} \ No newline at end of file diff --git a/test/pending/pos/bug1049.scala b/test/pending/pos/bug1049.scala deleted file mode 100644 index 452259b9f8..0000000000 --- a/test/pending/pos/bug1049.scala +++ /dev/null @@ -1,7 +0,0 @@ -package bug1049 - -abstract class Test { - type T <: A - class A requires T - class B requires T extends A -} diff --git a/test/pending/pos/bug1050.scala b/test/pending/pos/bug1050.scala deleted file mode 100644 index 8ca79716a9..0000000000 --- a/test/pending/pos/bug1050.scala +++ /dev/null @@ -1,10 +0,0 @@ -package bug1050 - -abstract class A { - type T <: scala.ScalaObject - class A requires T { - def b = 3 - def c = b - b - } -} diff --git a/test/pending/pos/bug1087.scala b/test/pending/pos/bug1087.scala deleted file mode 100644 index 19d62116c6..0000000000 --- a/test/pending/pos/bug1087.scala +++ /dev/null @@ -1,2 +0,0 @@ -case class Foo -case class Prd (pred : Char => Boolean) extends Foo diff --git a/test/pending/pos/bug229.scala b/test/pending/pos/bug229.scala deleted file mode 100644 index 0922499c6c..0000000000 --- a/test/pending/pos/bug229.scala +++ /dev/null @@ -1,3 +0,0 @@ -class Test extends java.util.ArrayList[Object] { - override def add(index: int, element: java.lang.Object): unit = {} -} diff --git a/test/pending/run/exoticnames.check b/test/pending/run/exoticnames.check deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/test/pending/run/exoticnames.scala b/test/pending/run/exoticnames.scala deleted file mode 100644 index 7c8dcea5e8..0000000000 --- a/test/pending/run/exoticnames.scala +++ /dev/null @@ -1,7 +0,0 @@ -// this is a run-test because the compiler should emit bytecode that'll pass the JVM's verifier -object Test extends Application { - def `(` = error("bla") - def `.` = error("bla") - def `)` = error("bla") - def `,` = error("bla") -} \ No newline at end of file -- cgit v1.2.3