diff options
author | Dmitry Petrashko <dark@d-d.me> | 2014-12-15 10:51:16 +0100 |
---|---|---|
committer | Dmitry Petrashko <dark@d-d.me> | 2014-12-15 10:51:16 +0100 |
commit | 8088ef2d162d877119b762ae156824d19afb5f6d (patch) | |
tree | 76dcba598c786ad9a0f6eef7464479c920551c1d /src/dotty/tools/dotc/TypeErasure.scala | |
parent | d65be09e86302bdf690a6da7a22d7338e869de43 (diff) | |
parent | c96482cfd99c04855b48dc146c9e2daf0cbaef87 (diff) | |
download | dotty-8088ef2d162d877119b762ae156824d19afb5f6d.tar.gz dotty-8088ef2d162d877119b762ae156824d19afb5f6d.tar.bz2 dotty-8088ef2d162d877119b762ae156824d19afb5f6d.zip |
Merge pull request #275 from dotty-staging/fix/#266-lambdaLift
Fix/#266 lambda lift
Diffstat (limited to 'src/dotty/tools/dotc/TypeErasure.scala')
-rw-r--r-- | src/dotty/tools/dotc/TypeErasure.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/TypeErasure.scala b/src/dotty/tools/dotc/TypeErasure.scala index 39eb7a254..de956ca6a 100644 --- a/src/dotty/tools/dotc/TypeErasure.scala +++ b/src/dotty/tools/dotc/TypeErasure.scala @@ -287,8 +287,8 @@ class TypeErasure(isJava: Boolean, isSemi: Boolean, isConstructor: Boolean, wild else this(parent) case tp: TermRef => this(tp.widen) - case ThisType(_) => - this(tp.widen) + case tp: ThisType => + this(tp.cls.typeRef) case SuperType(thistpe, supertpe) => SuperType(this(thistpe), this(supertpe)) case ExprType(rt) => |