aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/ReTyper.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-09-01 14:21:16 +0200
committerMartin Odersky <odersky@gmail.com>2014-09-01 14:22:12 +0200
commit2558c49984611935fff91b0b062f6af5a61e71ce (patch)
treea59b677e96cdb69e220ff42350f937279eb081cc /src/dotty/tools/dotc/typer/ReTyper.scala
parent2788547565d178f9bca93adc0df69029024bf4e6 (diff)
downloaddotty-2558c49984611935fff91b0b062f6af5a61e71ce.tar.gz
dotty-2558c49984611935fff91b0b062f6af5a61e71ce.tar.bz2
dotty-2558c49984611935fff91b0b062f6af5a61e71ce.zip
Completed outer paths.
Outer paths, parameters and arguments are inserted in erasure, using methods provided by OuterAccessors. Also fixed a stupid bug in Erasure#constant
Diffstat (limited to 'src/dotty/tools/dotc/typer/ReTyper.scala')
-rw-r--r--src/dotty/tools/dotc/typer/ReTyper.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/ReTyper.scala b/src/dotty/tools/dotc/typer/ReTyper.scala
index b18a7dd13..0d98a3fe0 100644
--- a/src/dotty/tools/dotc/typer/ReTyper.scala
+++ b/src/dotty/tools/dotc/typer/ReTyper.scala
@@ -44,7 +44,7 @@ class ReTyper extends Typer {
override def typedLiteral(tree: untpd.Literal)(implicit ctc: Context): Literal =
promote(tree)
- override def typedThis(tree: untpd.This)(implicit ctc: Context): This =
+ override def typedThis(tree: untpd.This)(implicit ctx: Context): Tree =
promote(tree)
override def typedTypeTree(tree: untpd.TypeTree, pt: Type)(implicit ctx: Context): TypeTree =