1
0
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:
Delyan Angelov 2022-06-02 19:02:34 +03:00
parent c892b3203e
commit 9f7656f328
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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) {}`