diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-12-16 18:20:15 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-12-16 18:20:15 +0000 |
commit | 17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3 (patch) | |
tree | bb804b4038eb6d0dee58b77cea8bd2dcc6f42dc4 /test/files/pos/clsrefine.scala | |
parent | e70a1a24ef7a7b596a92e1853fd44e96f36ad245 (diff) | |
download | scala-17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3.tar.gz scala-17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3.tar.bz2 scala-17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3.zip |
Removed old scala tests from new Scala core mod...
Removed old scala tests from new Scala core module.
Diffstat (limited to 'test/files/pos/clsrefine.scala')
-rw-r--r-- | test/files/pos/clsrefine.scala | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/files/pos/clsrefine.scala b/test/files/pos/clsrefine.scala deleted file mode 100644 index d63923b5e6..0000000000 --- a/test/files/pos/clsrefine.scala +++ /dev/null @@ -1,40 +0,0 @@ -import scala._; - -package scalac.util { - -trait A { - type X1; - type X2; - val x1: X1; - val x2: X2; -} -trait B extends A { - type Y; - val y1, y2: Y; - type X1 = Y; - type X2 = Y; - val x1 = y1; - val x2 = y2; - def f(x: Y, xs: B): Unit = {} - def g() = f(y1, this); -} - -object test { - val b: B { type Y = Int } = new B { - type Y = Int; - val y1, y2 = 1; - } - val a: A { type X1 = Int; type X2 = Int } = b; - val a1 = new A { - type X1 = Int; - type X2 = String; - val x1 = 1; - val x2 = "hello" - } - val b1 = new B { - type Y = Any; - val y1 = 1; - val y2 = "hello"; - } -} -}
\ No newline at end of file |