Skip to content

Commit

Permalink
cgen: fix vlang#19407
Browse files Browse the repository at this point in the history
  • Loading branch information
lv37 authored Sep 23, 2023
1 parent 1c9ab77 commit 38a136e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/gen/c/cgen.v
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ fn (mut g Gen) get_sumtype_casting_fn(got_ ast.Type, exp_ ast.Type) string {
g.sumtype_definitions[i] = true
g.sumtype_casting_fns << SumtypeCastingFn{
fn_name: fn_name
got: got
got: g.table.final_sym(got).idx
exp: exp
}
return fn_name
Expand Down

0 comments on commit 38a136e

Please sign in to comment.