mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: vfmt vlib/v/checker/check_types.v
This commit is contained in:
parent
c892b3203e
commit
9f7656f328
@ -242,7 +242,7 @@ pub fn (mut c Checker) check_expected_call_arg(got ast.Type, expected_ ast.Type,
|
|||||||
} else {
|
} else {
|
||||||
got_typ_sym := c.table.sym(got)
|
got_typ_sym := c.table.sym(got)
|
||||||
expected_typ_sym := c.table.sym(expected_)
|
expected_typ_sym := c.table.sym(expected_)
|
||||||
|
|
||||||
// Check on Generics types, there are some case where we have the following case
|
// Check on Generics types, there are some case where we have the following case
|
||||||
// `&Type<int> == &Type<>`. This is a common case we are implementing a function
|
// `&Type<int> == &Type<>`. This is a common case we are implementing a function
|
||||||
// with generic parameters like `compare(bst Bst<T> node) {}`
|
// with generic parameters like `compare(bst Bst<T> node) {}`
|
||||||
|
Loading…
Reference in New Issue
Block a user