diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-02 18:16:22 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-02 18:16:22 +0200 |
commit | 5cbdf5c28b843c79616243e5f1c882d55304b6e9 (patch) | |
tree | 9e16061fbd7e67fd2f2cfdacdb24365d4216114e /src/dotty/tools/backend | |
parent | 0f9132d6fa362e8ff5a8670afcd23f836f22dbd9 (diff) | |
download | dotty-5cbdf5c28b843c79616243e5f1c882d55304b6e9.tar.gz dotty-5cbdf5c28b843c79616243e5f1c882d55304b6e9.tar.bz2 dotty-5cbdf5c28b843c79616243e5f1c882d55304b6e9.zip |
Handle inner classes defined in suppercalls.
Diffstat (limited to 'src/dotty/tools/backend')
-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 9e923de09..368145847 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -485,7 +485,7 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ val original = toDenot(sym).initial val validity = original.validFor val shiftedContext = ctx.withPhase(validity.phaseId) - val r = toDenot(sym)(shiftedContext).maybeOwner + val r = toDenot(sym)(shiftedContext).maybeOwner.enclosingClass(shiftedContext) r } else NoSymbol } catch { |