summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-05-16 09:15:52 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-05-16 09:15:52 +0000
commit2068560890ff96121befe4e3eaf40f2f46860cd6 (patch)
tree0a2f575cd9306d3139749bb918c40f1a198b02ca /src/compiler
parent6402ff311c6f44f27f69087aa759740f191f0704 (diff)
downloadscala-2068560890ff96121befe4e3eaf40f2f46860cd6.tar.gz
scala-2068560890ff96121befe4e3eaf40f2f46860cd6.tar.bz2
scala-2068560890ff96121befe4e3eaf40f2f46860cd6.zip
fixed .net build
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/transform/UnCurry.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/UnCurry.scala b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
index ea31126324..5ca3f2e0aa 100644
--- a/src/compiler/scala/tools/nsc/transform/UnCurry.scala
+++ b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
@@ -426,7 +426,7 @@ abstract class UnCurry extends InfoTransform with TypingTransformers {
* return statements. These are disallowed in the CLR. By lifting
* such returns will be converted to throws.
*/
- def shouldBeLiftedAnyway(tree: Tree) =
+ def shouldBeLiftedAnyway(tree: Tree) = false && // buggy, see #1981
forMSIL && lookForReturns.found(tree)
/** Transform tree `t' to { def f = t; f } where `f' is a fresh name