File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments