mirror of
https://github.com/vlang/v.git
synced 2025-09-13 09:25:45 -04:00
v2: fix typo in checker.v (#20064)
This commit is contained in:
parent
a017b53450
commit
c943d9a815
@ -1765,7 +1765,7 @@ fn (mut c Checker) call_expr(expr ast.CallExpr) Type {
|
|||||||
c.env.generic_types[lhs_expr.name()] << generic_type_map
|
c.env.generic_types[lhs_expr.name()] << generic_type_map
|
||||||
}
|
}
|
||||||
} else if lhs_expr is ast.GenericArgs {
|
} else if lhs_expr is ast.GenericArgs {
|
||||||
c.error_with_pos('cannot call non generic fuction with generic argument list',
|
c.error_with_pos('cannot call non generic function with generic argument list',
|
||||||
expr.pos)
|
expr.pos)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user