mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: fix typo in selector_expr() (#10977)
This commit is contained in:
parent
64458c9308
commit
9f4431544d
@ -3423,7 +3423,7 @@ pub fn (mut c Checker) selector_expr(mut node ast.SelectorExpr) ast.Type {
|
||||
// look for embedded field
|
||||
has_field = true
|
||||
mut embed_type := ast.Type(0)
|
||||
field, embed_type = c.table.find_field_from_embeds(sym, field_name) or {
|
||||
field, embed_type = c.table.find_field_from_embeds(gs, field_name) or {
|
||||
if err.msg != '' {
|
||||
c.error(err.msg, node.pos)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user