Skip to content

Commit

Permalink
Prevent get fields for this on VString, VMap, VBytes when break in std
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Nov 26, 2024
1 parent 1e931f3 commit 1651468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hld/Eval.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ class Eval {
return [for( i in 0...values.length ) if( values[i].t.isPtr() ) "$"+i];
case VInlined(fields):
return [for( f in fields ) f.name];
case VArray(_):
case VString(_) | VArray(_) | VMap(_) | VBytes(_):
return [];
default:
return null;
Expand Down

0 comments on commit 1651468

Please sign in to comment.