Closed fabianmuecke closed 2 months ago
ππ» Thank you for your bug report, @fabianmuecke .
I have looked into it, and it seems like there is a missing parsing of GenericParameterListSyntax
when Method
is instantiated, as opposed to GenericWhereClauseSyntax
which is serialized.
Trying things here and there, might be solvable.
@fabianmuecke release 2.2.4 includes this.
@fabianmuecke release 2.2.4 includes this.
Great. Thanks for fixing this so quickly, @art-divin! π π
I can confirm, that the fix resolved the issue for us. π
As discussed here, there's a wider issue with the typealias resolution replacing unrelated types. The second variant of this issue is manifested by replacing the generic type parameters of generic function arguments with the type set to some unrelated typealias of the same name.
Try this self contained example:
using this template:
will output this: