mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
checker: more line-info logic
This commit is contained in:
parent
b9a233b1a0
commit
d3e950b3a9
@ -880,4 +880,3 @@ pub fn (f &File) tell() !i64 {
|
||||
}
|
||||
return pos
|
||||
}
|
||||
|
||||
|
@ -1624,7 +1624,7 @@ fn (mut c Checker) selector_expr(mut node ast.SelectorExpr) ast.Type {
|
||||
return ast.int_type
|
||||
}
|
||||
|
||||
c.error('`${unwrapped_sym.name}` 1has no property `${node.field_name}`', node.pos)
|
||||
c.error('`${unwrapped_sym.name}` has no property `${node.field_name}`', node.pos)
|
||||
}
|
||||
} else {
|
||||
if sym.info is ast.Struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user