aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/typealiases.scala
diff options
context:
space:
mode:
authorSamuel Gruetter <samuel.gruetter@epfl.ch>2014-12-16 16:38:09 +0100
committerSamuel Gruetter <samuel.gruetter@epfl.ch>2014-12-16 16:38:09 +0100
commit42851ed2675015d42bb341b82a09bd0bef4a8ce4 (patch)
tree06806b4183cf74a43553e9a8a9acfeff84fdf712 /tests/untried/pos/typealiases.scala
parent5be609fc4e04e3cca5e1435ee41b8cacac9b0513 (diff)
downloaddotty-42851ed2675015d42bb341b82a09bd0bef4a8ce4.tar.gz
dotty-42851ed2675015d42bb341b82a09bd0bef4a8ce4.tar.bz2
dotty-42851ed2675015d42bb341b82a09bd0bef4a8ce4.zip
move failing tests from tests/untried/pos to tests/pending/pos
Diffstat (limited to 'tests/untried/pos/typealiases.scala')
-rw-r--r--tests/untried/pos/typealiases.scala20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/untried/pos/typealiases.scala b/tests/untried/pos/typealiases.scala
deleted file mode 100644
index 93d1dce4d..000000000
--- a/tests/untried/pos/typealiases.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-package foo
-
-trait Test[T] {
- type Check[T] = Array[T] => Unit;
- type MyPair[S] = (T, S)
-
- val pair1: (T, Int)
- val pair: MyPair[Int] = pair1
-
- def check(xs: Array[T], c: Check[T]) = c(xs)
- def check2[S](xs: Array[S], c: Check[S]) = c(xs)
-}
-
-object main extends Test[Int] {
- val pair1 = (1,1)
-
- implicit def topair(x: Int): Tuple2[Int, Int] = (x,x)
- val pair2: MyPair[Int] = 1
- val x: Short = 1
-}