diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-11 14:17:06 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-18 10:52:33 +0100 |
commit | cbc5ea2231925b19f95330c30cd84fdbbe8bbbe1 (patch) | |
tree | c9f440fa32e58ed223969eb8947603ebeea3ccb0 /src/dotty/tools/backend | |
parent | 0f9c3d7931aad86d1373ca31c98b71a2d758520e (diff) | |
download | dotty-cbc5ea2231925b19f95330c30cd84fdbbe8bbbe1.tar.gz dotty-cbc5ea2231925b19f95330c30cd84fdbbe8bbbe1.tar.bz2 dotty-cbc5ea2231925b19f95330c30cd84fdbbe8bbbe1.zip |
Remove workaround for #348.
Diffstat (limited to 'src/dotty/tools/backend')
-rw-r--r-- | src/dotty/tools/backend/jvm/DottyBackendInterface.scala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index ffb6a0377..459e4d303 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -504,10 +504,7 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ def enclClass: Symbol = toDenot(sym).enclosingClass def linkedClassOfClass: Symbol = linkedClass def linkedClass: Symbol = { - val ct = ctx.withPhase(ctx.flattenPhase.prev) - toDenot(sym)(ct).linkedClass(ct) - // java.util.Attributes.Name$ -> java$util$Attributes$Name$ no companion class after flatten - // see bug #348 + toDenot(sym)(ctx).linkedClass(ctx) } //exitingPickler(sym.linkedClassOfClass) def companionClass: Symbol = toDenot(sym).companionClass def companionModule: Symbol = toDenot(sym).companionModule |