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
When decompiling methods which store the result of a generic method in a local variable and there is no further usage of this result, CFR emits the type parameter name or a wildcard, which is invalid code:
public static void main(String[] args) {
? o = GenericType.getWildcardInstance().doSomething();
T o2 = GenericType.getInstance().doSomething();
GenericType<T> o3 = GenericType.getInstance();
}
Also sorry for this flood of issues, I started poking at CFR a little bit. Let me know if they are too many or if you are not interested in these issues.
CFR version
0.149-SNAPSHOT (commit 06539a4)
Description
When decompiling methods which store the result of a generic method in a local variable and there is no further usage of this result, CFR emits the type parameter name or a wildcard, which is invalid code:
Also sorry for this flood of issues, I started poking at CFR a little bit. Let me know if they are too many or if you are not interested in these issues.
Example code
The text was updated successfully, but these errors were encountered: