diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-12-03 10:42:03 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-12-16 13:15:02 +0100 |
commit | 81130ce45c1a4441023c536993538bcb62bf40d1 (patch) | |
tree | 0dfa80ae046eb9c13fbcff7cd1a60ed3de6ad9a1 /src/dotty/tools/backend/jvm/DottyBackendInterface.scala | |
parent | 9e15d1630110cc524af3a2ef782d52f78145e26f (diff) | |
download | dotty-81130ce45c1a4441023c536993538bcb62bf40d1.tar.gz dotty-81130ce45c1a4441023c536993538bcb62bf40d1.tar.bz2 dotty-81130ce45c1a4441023c536993538bcb62bf40d1.zip |
Fix bugs around emulating scalac linkedClassOfClass.
Diffstat (limited to 'src/dotty/tools/backend/jvm/DottyBackendInterface.scala')
-rw-r--r-- | src/dotty/tools/backend/jvm/DottyBackendInterface.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index c33d8e86c..9de6733e0 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -457,8 +457,8 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ def parentSymbols: List[Symbol] = toDenot(sym).info.parents.map(_.typeSymbol) def superClass: Symbol = toDenot(sym).superClass def enclClass: Symbol = toDenot(sym).enclosingClass - def linkedClassOfClass: Symbol = toDenot(sym).companionModule - def linkedClass: Symbol = linkedClassOfClass //exitingPickler(sym.linkedClassOfClass) + def linkedClassOfClass: Symbol = linkedClass + def linkedClass: Symbol = toDenot(sym).linkedClass //exitingPickler(sym.linkedClassOfClass) def companionClass: Symbol = toDenot(sym).companionClass def companionModule: Symbol = toDenot(sym).companionModule def companionSymbol: Symbol = if (sym is Flags.Module) companionClass else companionModule |