pull/3636/head
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