diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-12-02 20:39:41 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-12-16 13:15:02 +0100 |
commit | 48d9a2981ab8d9ea2bbeaed1ddf2468dc9acf138 (patch) | |
tree | dc4dc6877ccf585a19073d2433303b02e5c15fd7 /src/dotty/tools/backend/jvm/DottyBackendInterface.scala | |
parent | c165784469214c7d033895e28e747c33bbf81722 (diff) | |
download | dotty-48d9a2981ab8d9ea2bbeaed1ddf2468dc9acf138.tar.gz dotty-48d9a2981ab8d9ea2bbeaed1ddf2468dc9acf138.tar.bz2 dotty-48d9a2981ab8d9ea2bbeaed1ddf2468dc9acf138.zip |
Fix TypeSymbol for This references in backend
Diffstat (limited to 'src/dotty/tools/backend/jvm/DottyBackendInterface.scala')
-rw-r--r-- | src/dotty/tools/backend/jvm/DottyBackendInterface.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index a723ce4e1..cd08600ce 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -544,7 +544,7 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ def members: List[Symbol] = tp.memberDenots(takeAllFilter, (name, buf) => buf ++= member(name).alternatives).map(_.symbol).toList - def typeSymbol: Symbol = tp.typeSymbol + def typeSymbol: Symbol = tp.widenDealias.typeSymbol def =:=(other: Type): Boolean = tp =:= other |