Skip to content

Commit cf38a59

Browse files
committed
Fixed bug in unparser
1 parent bec511c commit cf38a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/obfuscator/unparser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ function Unparser:unparseExpression(expression, tabbing)
711711

712712
-- Identifier Indexing e.g: x.y instead of x["y"];
713713
if(expression.index.kind == AstKind.StringExpression and self:isValidIdentifier(expression.index.value)) then
714-
if(self.keywordsLookup[expression.index.value]) then
714+
if(not self.keywordsLookup[expression.index.value]) then
715715
return base .. "." .. expression.index.value;
716716
end
717717
end

0 commit comments

Comments
 (0)