Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8.4
-
None
-
None
Description
Recent changes in DelegateASTTransformation have introduced a dependence on ClassNode.getTypeClass(). As mentioned in other Jiras, the tools don't work well when getTypeClass() is used as we treat ClassNode as a proper type abstraction, we don't always have a real class file behind it (so getTypeClass() will usually return null).
At line 220, instead of:
return ClassHelper.makeWithoutCaching(type.getTypeClass(), false);
can we do something like:
return type.getComponentType().getPlainNodeReference().makeArray();