Skip to content

Commit cd5324c

Browse files
committed
Remove two unneeded line changes
1 parent 4a0f022 commit cd5324c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LuaTransformer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4617,7 +4617,7 @@ export class LuaTransformer {
46174617
}
46184618
}
46194619

4620-
protected transformLuaTableProperty(node: ts.PropertyAccessExpression): tstl.Expression {
4620+
protected transformLuaTableProperty(node: ts.PropertyAccessExpression): tstl.UnaryExpression {
46214621
const [luaTable, propertyName] = this.parseLuaTableExpression(node);
46224622
switch (propertyName) {
46234623
case "length":
@@ -5034,7 +5034,7 @@ export class LuaTransformer {
50345034
case "get":
50355035
return tstl.createTableIndexExpression(luaTable, params[0], expression);
50365036
default:
5037-
throw TSTLErrors.UnsupportedProperty("LuaTable", methodName, expression);
5037+
throw TSTLErrors.ForbiddenLuaTableUseException("Unsupported method.", methodName, expression);
50385038
}
50395039
}
50405040

0 commit comments

Comments
 (0)