summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
index 708971a35a..e3ca79a975 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
@@ -474,6 +474,7 @@ abstract class GenJVM extends SubComponent {
// add inner classes which might not have been referenced yet
atPhase(currentRun.erasurePhase) {
addOwnInnerClasses(clasz.symbol)
+ addOwnInnerClasses(clasz.symbol.linkedClassOfClass)
}
if (!innerClasses.isEmpty) {