File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/main/scala/org/scalajs/nscplugin
ir/shared/src/main/scala/org/scalajs/ir Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ abstract class PrepJSInterop[G <: Global with Singleton](val global: G)
475
475
*/
476
476
val superCtorCall = gen.mkMethodCall(
477
477
Super (clsSym, tpnme.EMPTY ),
478
- ObjectClass .primaryConstructor, Nil , Nil )
478
+ DynamicImportThunkClass .primaryConstructor, Nil , Nil )
479
479
480
480
// class $anon extends DynamicImportThunk
481
481
val clsDef = ClassDef (clsSym, List (
Original file line number Diff line number Diff line change @@ -1438,7 +1438,7 @@ object Serializers {
1438
1438
val superClass = readOptClassIdent()
1439
1439
val parents = readClassIdents()
1440
1440
1441
- if (/* hacks.use16 &&*/ kind.isClass) { // scalastyle:ignore
1441
+ if (hacks.use16 && kind.isClass) {
1442
1442
/* In 1.17, we started enforcing the constructor chaining discipline.
1443
1443
* Unfortunately, we used to generate a wrong super constructor call in
1444
1444
* synthetic classes extending `DynamicImportThunk`, so we patch them.
You can’t perform that action at this time.
0 commit comments