1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
This commit is contained in:
Alexander Medvednikov 2020-02-03 11:54:41 +01:00
parent 54605823f9
commit 64bfae0a0e

View File

@ -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