summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-06-03 22:50:15 +0000
committerBurak Emir <emir@epfl.ch>2007-06-03 22:50:15 +0000
commit450979f77506c0375d7dcf84219dfd226d9da499 (patch)
treea0bb8b34ee8fefbc2eaa1fcacb83f7b7914cb1e1 /test
parent724e68bab0d480fd9379afcbbb56ccc098770706 (diff)
downloadscala-450979f77506c0375d7dcf84219dfd226d9da499.tar.gz
scala-450979f77506c0375d7dcf84219dfd226d9da499.tar.bz2
scala-450979f77506c0375d7dcf84219dfd226d9da499.zip
some debug output for fatal errors during typing
Diffstat (limited to 'test')
-rw-r--r--test/files/run/patmatnew.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/patmatnew.scala b/test/files/run/patmatnew.scala
index 16336a516c..4f6649f8b6 100644
--- a/test/files/run/patmatnew.scala
+++ b/test/files/run/patmatnew.scala
@@ -97,6 +97,12 @@ object Test extends TestConsoleMain {
}
}
+ // also: this one from fannkuch
+ //def flips(l: List[int]): int = (l: @unchecked) match {
+ // case 1 :: ls => 0
+ // case n :: ls => flips((l take n reverse) ::: (l drop n)) + 1
+ //}
+
def runTest() = assertEquals("both", (Var("x"),Var("y")), f)
}