Skip to content

Commit c273b04

Browse files
committed
fix
1 parent 192656e commit c273b04

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

script/vm/compiler.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,10 @@ function vm.getClassFields(suri, object, key, ref, pushResult)
373373
local fieldKey = guide.getKeyName(field)
374374
if fieldKey and not searchedFields[fieldKey] then
375375
if not searchedFields[fieldKey]
376-
and guide.isSet(field)
377-
and guide.isLiteral(field.value) then
378-
hasFounded[fieldKey] = true
376+
and guide.isSet(field) then
377+
if guide.isLiteral(field.value) then
378+
hasFounded[fieldKey] = true
379+
end
379380
pushResult(field, true)
380381
end
381382
end

0 commit comments

Comments
 (0)