Closed mbobrovskyi closed 2 months ago
Looks like the problem is here:
The Results
type for ChildCQs() []CQ
is *types.Slice
. For this type I think it should be like here.
This is a duplicate of #1294 or #1440 and is waiting on golang/go#63982. The code you have found is a workaround for the most common cases. An exhaustive solution would be identical to Go's type unification.
What happened:
I'm trying to check the code below:
But I have an error:
How to reproduce it (as minimally and precisely as possible):
Execute this command:
Anything else we need to know?: Also the same issue on master branch.
Environment: