summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-14 13:09:43 -0700
committerPaul Phillips <paulp@improving.org>2012-03-14 14:22:54 -0700
commit5db8e84cb0b92c4a5abe27574dfd51b8bd1fb54f (patch)
tree3a1bf19b0b525bdb4a5680ef506f8a6c476618c5 /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parent1c061e5931ccc39090d955e3bc18dd0a1e48df84 (diff)
downloadscala-5db8e84cb0b92c4a5abe27574dfd51b8bd1fb54f.tar.gz
scala-5db8e84cb0b92c4a5abe27574dfd51b8bd1fb54f.tar.bz2
scala-5db8e84cb0b92c4a5abe27574dfd51b8bd1fb54f.zip
The rest of the inline classes.
Have you often thought that programming is just like the movie 'Hackers', only with less rollerblading? Now that we have @inline skates, that last caveat can be retired. It's just like the movie 'Hackers'. Signed-off-by: Zero Cool
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 65c46fca98..9a2ef88821 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -637,7 +637,7 @@ trait Typers extends Modes with Adaptations with PatMatVirtualiser {
// to escape scope here, e.g. pos/t1107. I'm not sure how to properly handle this
// so for now it requires the type symbol be public.
&& pre.typeSymbol.isPublic)
- tree setType MethodType(Nil, erasure.getClassReturnType(pre))
+ tree setType MethodType(Nil, getClassReturnType(pre))
else
tree
}