Skip to content

Commit 21dd86b

Browse files
committed
add brackets
1 parent 7bf2ec9 commit 21dd86b

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
@@ -1798,7 +1798,7 @@ export class LuaTransformer {
17981798
}
17991799

18001800
if (
1801-
ts.isPropertyAccessExpression(expression.left) && !tsHelper.hasSetAccessor(expression.left, this.checker)
1801+
(ts.isPropertyAccessExpression(expression.left) && !tsHelper.hasSetAccessor(expression.left, this.checker))
18021802
|| ts.isElementAccessExpression(expression.left)
18031803
) {
18041804
// Left is property/element access: cache result while maintaining order of evaluation

0 commit comments

Comments
 (0)