pull/3636/head
Alexander Medvednikov 2020-02-03 11:54:41 +01:00
parent 54605823f9
commit 64bfae0a0e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ pub fn (c &Checker) selector_expr(selector_expr ast.SelectorExpr) table.Type {
return field.ti return field.ti
} }
else { 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 return table.void_type