diff --git a/vlib/v/checker/check_types.v b/vlib/v/checker/check_types.v index 2eba5206e0..4da2b45059 100644 --- a/vlib/v/checker/check_types.v +++ b/vlib/v/checker/check_types.v @@ -242,7 +242,7 @@ pub fn (mut c Checker) check_expected_call_arg(got ast.Type, expected_ ast.Type, } else { got_typ_sym := c.table.sym(got) expected_typ_sym := c.table.sym(expected_) - + // Check on Generics types, there are some case where we have the following case // `&Type == &Type<>`. This is a common case we are implementing a function // with generic parameters like `compare(bst Bst node) {}`