diff options
Diffstat (limited to 'test/pending')
-rwxr-xr-x | test/pending/pos/bug305.scala | 8 | ||||
-rw-r--r-- | test/pending/pos/bug599.scala | 18 |
2 files changed, 26 insertions, 0 deletions
diff --git a/test/pending/pos/bug305.scala b/test/pending/pos/bug305.scala new file mode 100755 index 0000000000..3e7e8c60f4 --- /dev/null +++ b/test/pending/pos/bug305.scala @@ -0,0 +1,8 @@ +object Test extends Application { + + def foo(is:int*) = 1; + def foo(i:int) = 2; + + Console.println( foo( List(3):_* ) ) + +}
\ No newline at end of file diff --git a/test/pending/pos/bug599.scala b/test/pending/pos/bug599.scala new file mode 100644 index 0000000000..885159af66 --- /dev/null +++ b/test/pending/pos/bug599.scala @@ -0,0 +1,18 @@ +abstract class FooA { + type A <: Ax; + abstract class Ax; + abstract class InnerA { + type B <: A; + def doB : B; + } + } + trait FooB extends FooA { + type A <: Ax; + trait Ax extends super.Ax { def xxx : Int; } + abstract class InnerB extends InnerA { + // type B <: A; + val a : A = doB; + a.xxx; + doB.xxx; + } + } |