Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyi98 committed Dec 9, 2024
1 parent 01c0fdc commit 6eae836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/checker/fn.v
Original file line number Diff line number Diff line change
Expand Up @@ -4061,7 +4061,7 @@ fn (mut c Checker) has_veb_context(typ ast.Type) bool {
return true
} else if sym.info is ast.Struct {
for embed in sym.info.embeds {
if global_table.sym(embed).name == 'veb.Context' {
if c.table.sym(embed).name == 'veb.Context' {
return true
}
}
Expand Down

0 comments on commit 6eae836

Please sign in to comment.