checker: remove debug code from previous commit
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