We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc91b5 commit db0f0b0Copy full SHA for db0f0b0
src/LuaTransformer.ts
@@ -5445,8 +5445,6 @@ export class LuaTransformer {
5445
protected getLuaTablePropertyName(node: ts.LeftHandSideExpression): string {
5446
if (ts.isPropertyAccessExpression(node)) {
5447
return node.name.text;
5448
- } else if (ts.isIdentifier(node)) {
5449
- return node.text;
5450
} else {
5451
throw TSTLErrors.UnsupportedKind("LuaTable access expression", node.kind, node);
5452
}
0 commit comments