diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2010-03-08 13:14:59 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2010-03-08 13:14:59 +0000 |
commit | b6c6e8f35342409ace8cb33d4b0ff6c9f8862850 (patch) | |
tree | 8754d2e1fd57b34de333f6caa8c557d744de0c78 /src | |
parent | b13d8fe24e5e44d83676d9d10006d2014f2af039 (diff) | |
download | scala-b6c6e8f35342409ace8cb33d4b0ff6c9f8862850.tar.gz scala-b6c6e8f35342409ace8cb33d4b0ff6c9f8862850.tar.bz2 scala-b6c6e8f35342409ace8cb33d4b0ff6c9f8862850.zip |
Recursively transform 'new' arguments in specia...
Recursively transform 'new' arguments in specialized programs. Closes
#3149, no review.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala b/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala index 27a95d1ae1..1ad045d367 100644 --- a/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala +++ b/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala @@ -930,7 +930,7 @@ abstract class SpecializeTypes extends InfoTransform with TypingTransformers { Apply( Select(New(TypeTree(findSpec(tpt.tpe))), nme.CONSTRUCTOR), transformTrees(args)))) - } else tree + } else super.transform(tree) case TypeApply(Select(qual, name), targs) if (!specializedTypeVars(symbol.info).isEmpty && name != nme.CONSTRUCTOR) => log("checking typeapp for rerouting: " + tree + " with sym.tpe: " + symbol.tpe + " tree.tpe: " + tree.tpe) |