We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a8c92 commit 7474482Copy full SHA for 7474482
modules/nextflow/src/main/groovy/nextflow/plugin/spec/FunctionSpec.groovy
@@ -58,7 +58,7 @@ class FunctionSpec {
58
59
private static Object fromType(ClassNode cn) {
60
final name = Types.getName(cn.getTypeClass())
61
- if( cn.getGenericsTypes() != null ) {
+ if( !cn.isGenericsPlaceHolder() && cn.getGenericsTypes() != null ) {
62
final typeArguments = cn.getGenericsTypes().collect { gt -> fromType(gt.getType()) }
63
return [ name: name, typeArguments: typeArguments ]
64
}
0 commit comments