Skip to content

Commit 8a3a827

Browse files
committed
Fix error with legacy syntax
Signed-off-by: Ben Sherman <[email protected]>
1 parent 8efcfc0 commit 8a3a827

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/nextflow/src/main/groovy/nextflow/ast/NextflowDSLImpl.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ class NextflowDSLImpl implements ASTTransformation {
890890
)
891891
}
892892

893-
private static final VALID_INPUT_METHODS = ['val','env','file','path','stdin','each','tuple']
893+
private static final List<String> VALID_INPUT_METHODS = ['val','env','file','path','stdin','each','tuple']
894894

895895
protected void convertInputMethod( MethodCallExpression methodCall ) {
896896
final methodName = methodCall.getMethodAsString()
@@ -971,7 +971,7 @@ class NextflowDSLImpl implements ASTTransformation {
971971
return visitor.statements
972972
}
973973

974-
private static final VALID_OUTPUT_METHODS = ['val','env','eval','file','path','stdout','tuple']
974+
private static final List<String> VALID_OUTPUT_METHODS = ['val','env','eval','file','path','stdout','tuple']
975975

976976
protected void convertOutputMethod( MethodCallExpression methodCall ) {
977977
final methodName = methodCall.getMethodAsString()

0 commit comments

Comments
 (0)