mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: remove debug code from previous commit
This commit is contained in:
parent
426e9d1734
commit
a0c07454b1
@ -3115,7 +3115,7 @@ pub fn (mut c Checker) ident(mut node ast.Ident) ast.Type {
|
||||
node.pos.pos
|
||||
}
|
||||
if node_pos < obj.pos.pos {
|
||||
c.error('undefined variable `$node.name` (used before declaration) # $node_pos < $obj.pos.pos | $node.pos.pos',
|
||||
c.error('undefined variable `$node.name` (used before declaration)',
|
||||
node.pos)
|
||||
}
|
||||
is_sum_type_cast := obj.smartcasts.len != 0
|
||||
|
Loading…
Reference in New Issue
Block a user