Skip to content

Commit 58cd74d

Browse files
TheLartiansPerryvw
authored andcommitted
add export to super call class identifier (#359)
1 parent d22da21 commit 58cd74d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LuaTransformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ export class LuaTransformer {
23482348

23492349
return tstl.createCallExpression(
23502350
tstl.createTableIndexExpression(
2351-
tstl.createTableIndexExpression(classIdentifier, baseIdentifier),
2351+
tstl.createTableIndexExpression(this.addExportToIdentifier(classIdentifier), baseIdentifier),
23522352
constructorIdentifier
23532353
),
23542354
parameters

0 commit comments

Comments
 (0)