mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
2
This commit is contained in:
parent
54605823f9
commit
64bfae0a0e
@ -134,7 +134,7 @@ pub fn (c &Checker) selector_expr(selector_expr ast.SelectorExpr) table.Type {
|
||||
return field.ti
|
||||
}
|
||||
else {
|
||||
c.error('$ti.name is not a struct', selector_expr.pos)
|
||||
c.error('`$typ.name` is not a struct', selector_expr.pos)
|
||||
}
|
||||
}
|
||||
return table.void_type
|
||||
|
Loading…
Reference in New Issue
Block a user