mirror of
https://github.com/vlang/v.git
synced 2025-08-05 10:47:11 -04:00
checker: remove dump() dependency from ComptimeFor (#25000)
This commit is contained in:
parent
efd6eccadc
commit
56b51b69d8
@ -290,7 +290,6 @@ fn (mut c Checker) comptime_for(mut node ast.ComptimeFor) {
|
|||||||
|
|
||||||
unwrapped_expr_type := c.unwrap_generic(field.typ)
|
unwrapped_expr_type := c.unwrap_generic(field.typ)
|
||||||
tsym := c.table.sym(unwrapped_expr_type)
|
tsym := c.table.sym(unwrapped_expr_type)
|
||||||
c.table.dumps[int(unwrapped_expr_type.clear_flags(.option, .result, .atomic_f))] = tsym.cname
|
|
||||||
c.markused_comptimefor(mut node, unwrapped_expr_type)
|
c.markused_comptimefor(mut node, unwrapped_expr_type)
|
||||||
if tsym.kind == .array_fixed {
|
if tsym.kind == .array_fixed {
|
||||||
info := tsym.info as ast.ArrayFixed
|
info := tsym.info as ast.ArrayFixed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user