summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-07-09 18:39:22 -0400
committerSeth Tisue <seth@tisue.net>2015-07-09 18:39:22 -0400
commit70129c97d30dcbdf305c1e012c91e05b999f5cfa (patch)
treebb523ab301843dc8e398febc364dd75ed1b60148 /test/files
parentc8110b55a78c830a48e66f3b066d7a060c0d76b2 (diff)
downloadscala-70129c97d30dcbdf305c1e012c91e05b999f5cfa.tar.gz
scala-70129c97d30dcbdf305c1e012c91e05b999f5cfa.tar.bz2
scala-70129c97d30dcbdf305c1e012c91e05b999f5cfa.zip
temporarily disable failing indylambda test
Adriaan and Jason agree that the test is failing because the test itself needs reworking, not because it's showing a real problem. so, disabling it for now in the interest of getting 2.12.0-M2 out the door.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/indylambda-specialization.scala15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/files/run/indylambda-specialization.scala b/test/files/run/indylambda-specialization.scala
deleted file mode 100644
index 2c66073e90..0000000000
--- a/test/files/run/indylambda-specialization.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-object Test {
- def assertApply(expected: Boolean) = {
- val frames = Thread.currentThread.getStackTrace.takeWhile(_.getMethodName != "main")
- val usesObjectApply = frames.exists(_.getMethodName == "apply")
- assert(expected == usesObjectApply, frames.mkString("\n"))
- }
- def assertSpecialized() = assertApply(false)
- def assertUnspecialized() = assertApply(true)
- def main(args: Array[String]): Unit = {
- ((i: String) => {assertUnspecialized(); i}).apply("")
- (() => {assertSpecialized(); 0}).apply()
- ((i: Int) => {assertSpecialized(); i}).apply(0)
- ((i: Int, j: Int) => {assertSpecialized(); i + j}).apply(0, 0)
- }
-}