Skip to content

Commit

Permalink
Prevent get fields for this on VArray when break in std
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Nov 22, 2024
1 parent 621b273 commit 0fc42c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hld/Eval.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,8 @@ 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(_):
return [];
default:
return null;
}
Expand Down

0 comments on commit 0fc42c3

Please sign in to comment.