You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling CtExecutable#getExecutableDeclaration() somehow manages to add a type parameter to the java.lang.Object type reference in a TypeFactory. And, well, java.lang.Object shouldn't have any generics.
This problem could be somehow connected to this line (contexts.peek() happens to be the said type reference), but I'm not too sure. Further investigation is a bit too much for me, sorry.
Code to reproduce. Just import the Gradle project and launch Main class. To get the stacktrace put a breakpoint on the System.out.println("Type parameters before ...");.
The used Spoon version is 8.4.0-beta-8, but it's reproducible at least since this commit.
The text was updated successfully, but these errors were encountered:
Calling
CtExecutable#getExecutableDeclaration()
somehow manages to add a type parameter to thejava.lang.Object
type reference in a TypeFactory. And, well,java.lang.Object
shouldn't have any generics.This problem could be somehow connected to this line (
contexts.peek()
happens to be the said type reference), but I'm not too sure. Further investigation is a bit too much for me, sorry.Code to reproduce. Just import the Gradle project and launch
Main
class. To get the stacktrace put a breakpoint on theSystem.out.println("Type parameters before ...");
.The used Spoon version is 8.4.0-beta-8, but it's reproducible at least since this commit.
The text was updated successfully, but these errors were encountered: