I am trying to modernize my Nextflow codebase with the strict syntax parsing. While it works for .nf files, it fails when types are used in nextflow.config files.
Minimum example nextflow config:
params{
test_flag: String = "test"
}
Minimum example workflow:
workflow test {
println "test"
}
Running:
nextflow run test.nf
N E X T F L O W ~ version 26.02.0-edge
Error nextflow.config:2:20: Unexpected input: '='
│ 2 | test_flag: String = "test"
╰ | ^
ERROR ~ Config parsing failed
Environment
- Nextflow version: 26.02.0-edge