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
{{ message }}
Repository navigation
@CompileStatic type-checking fails on task.config.ext property access #3
After the Gradle 7+ build fix (#1), gradle jar reaches compileGroovy and fails with 4 static type-checking errors in SpawnTaskHandler.groovy:
SpawnTaskHandler.groovy: 33: [Static type checking] - No such property: instanceType for class: java.lang.Object
SpawnTaskHandler.groovy: 34: [Static type checking] - No such property: region for class: java.lang.Object
SpawnTaskHandler.groovy: 35: [Static type checking] - No such property: ttl for class: java.lang.Object
SpawnTaskHandler.groovy: 36: [Static type checking] - No such property: spot for class: java.lang.Object
Root cause
The class is @CompileStatic. Nextflow's TaskConfig.getExt() returns an untyped value (effectively Object/dynamic map), so dotted property access like task.config.ext?.instanceType cannot be resolved at compile time under static type checking:
Activity
release: v0.1.1 — Gradle 7+ build fix + @CompileStatic compilation fixes
build: adopt official nextflow-plugin toolchain, target Nextflow 26.0…
Add Dependabot for the SHA-pinned actions and the Gradle plugins (#80) (