diff options
author | Martin Odersky <odersky@gmail.com> | 2007-07-13 16:32:56 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-07-13 16:32:56 +0000 |
commit | 7529035f6d21021dcf518a8b53729d1c5c6374f5 (patch) | |
tree | a477ab3285508315efbf128cda5d842d4dacad97 /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 13369d36fa26522feeb4ce49d20446c79a476f97 (diff) | |
download | scala-7529035f6d21021dcf518a8b53729d1c5c6374f5.tar.gz scala-7529035f6d21021dcf518a8b53729d1c5c6374f5.tar.bz2 scala-7529035f6d21021dcf518a8b53729d1c5c6374f5.zip |
refactorings for SingletionType's to make them ...
refactorings for SingletionType's to make them forward more operations
to their underlying type.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
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 6fe9d16dab..f5744b4d3a 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -2279,7 +2279,7 @@ trait Typers { self: Analyzer => } if (clazz == NoSymbol) setError(tree) else { - tree setSymbol clazz setType selftype.singleDeref + tree setSymbol clazz setType selftype.underlying if (isStableContext(tree, mode, pt)) tree setType selftype tree } |