checker: remove debug code from previous commit

pull/13971/head
Joe Conigliaro 2022-04-08 18:27:14 +10:00
parent 426e9d1734
commit a0c07454b1
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1
1 changed files with 1 additions and 1 deletions

View File

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