aboutsummaryrefslogtreecommitdiff
path: root/tests/pending
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-08-18 17:50:43 +0200
committerMartin Odersky <odersky@gmail.com>2016-08-18 17:50:43 +0200
commit806a7b3b6f8c6e7df276bceaa7b0a19c580a3486 (patch)
treecd261bad2c86c118d97a0ecedff0308cd2c2dbe7 /tests/pending
parentd5ef867b1f89c79f8620129693e4f1e9bc6f617c (diff)
downloaddotty-806a7b3b6f8c6e7df276bceaa7b0a19c580a3486.tar.gz
dotty-806a7b3b6f8c6e7df276bceaa7b0a19c580a3486.tar.bz2
dotty-806a7b3b6f8c6e7df276bceaa7b0a19c580a3486.zip
Test reshuffling
- Delete redundant t2660 (exists elready in pos) - Comment t1756 - Recategorize tryexpr
Diffstat (limited to 'tests/pending')
-rw-r--r--tests/pending/pos/t1756.scala5
-rw-r--r--tests/pending/pos/t2660.scala25
-rw-r--r--tests/pending/pos/tryexpr.scala10
3 files changed, 5 insertions, 35 deletions
diff --git a/tests/pending/pos/t1756.scala b/tests/pending/pos/t1756.scala
index 58f56ccb9..34bf273ab 100644
--- a/tests/pending/pos/t1756.scala
+++ b/tests/pending/pos/t1756.scala
@@ -18,6 +18,11 @@ with expected type A with Poly[A]. And no solution is found.
To solve this, I added a fallback scheme similar to implicit arguments:
When an implicit view that adds a method matching given arguments and result
type fails, try again without the result type.
+
+However, troubles are not yet over. We now get an oprhan poly param C when pickling
+and, if typr printer and -Ylog:front is on, an infinite type of the form
+
+ mu x. Ring[LazyRef(x) & A]
*/
trait Ring[T <: Ring[T]] {
def +(that: T): T
diff --git a/tests/pending/pos/t2660.scala b/tests/pending/pos/t2660.scala
deleted file mode 100644
index d42dcc72b..000000000
--- a/tests/pending/pos/t2660.scala
+++ /dev/null
@@ -1,25 +0,0 @@
-package hoho
-
-class G
-
-class H extends G
-
-class A[T](x: T) {
-
- def this(y: G, z: T) = {
- this(z)
- print(1)
- }
-
- def this(z: H, h: T) = {
- this(h)
- print(2)
- }
-}
-
-object T {
- def main(args: Array[String]): Unit = {
- implicit def g2h(g: G): H = new H
- new A(new H, 23)
- }
-}
diff --git a/tests/pending/pos/tryexpr.scala b/tests/pending/pos/tryexpr.scala
deleted file mode 100644
index c6c2febf7..000000000
--- a/tests/pending/pos/tryexpr.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-// stretching more flexible try/catch's legs a bit
-object o {
- try Integer.parseInt("xxxx") catch { case e => 5 }
- try 5
- try try try 10
- try try try 10 catch { case e => 20 } finally 30
- try try try 10 catch { case e => 20 } finally 30 finally 40
- try try try 10 catch { case e => 20 } finally 30 finally 40 finally 50
- try try try 10 finally 50
-}