summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/transform/UnCurry.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-07-02 17:53:28 +0000
committerMartin Odersky <odersky@gmail.com>2009-07-02 17:53:28 +0000
commit3b72f6de8213b573675650d4ca16c0563981f965 (patch)
tree0c1b0432ee4ca068a00db330ccf413b79e2530a1 /src/compiler/scala/tools/nsc/transform/UnCurry.scala
parent08a4234ce025896bdcf4910a67d8178cf4336cb2 (diff)
downloadscala-3b72f6de8213b573675650d4ca16c0563981f965.tar.gz
scala-3b72f6de8213b573675650d4ca16c0563981f965.tar.bz2
scala-3b72f6de8213b573675650d4ca16c0563981f965.zip
refined range positions some more; eliminated A...
refined range positions some more; eliminated Array.withDims
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/UnCurry.scala')
-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 6aa98bb6e9..abf80658a9 100644
--- a/src/compiler/scala/tools/nsc/transform/UnCurry.scala
+++ b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
@@ -361,7 +361,7 @@ abstract class UnCurry extends InfoTransform with TypingTransformers {
localTyper.typed {
atPos(fun.pos) {
Block(
- List(ClassDef(anonClass, NoMods, List(List()), List(List()), members)),
+ List(ClassDef(anonClass, NoMods, List(List()), List(List()), members, fun.pos.toSynthetic)),
Typed(
New(TypeTree(anonClass.tpe), List(List())),
TypeTree(fun.tpe)))