Skip to content

Remove unnecessary runtime checks with strict syntax#6539

Merged
bentsherman merged 2 commits intomasterfrom
remove-runtime-checks-strict-syntax
Nov 7, 2025
Merged

Remove unnecessary runtime checks with strict syntax#6539
bentsherman merged 2 commits intomasterfrom
remove-runtime-checks-strict-syntax

Conversation

@bentsherman
Copy link
Member

Close #6533

I haven't figured out exactly what causes this error, but I believe it is related to how the v2 parser loads scripts differently than the v1 parser

Since the v2 parser checks for conflicting declarations at compile-time, these runtime checks aren't needed anyway. Disabling these checks for the v2 parser allows the MWE to run successfully. There is already a unit test for this in ScriptResolveTest.

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@netlify
Copy link

netlify bot commented Nov 4, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit ebcd63c
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/690e43bf755ed60008733cbf

@bentsherman bentsherman force-pushed the remove-runtime-checks-strict-syntax branch from e55ad47 to cd99854 Compare November 5, 2025 17:30
@bentsherman bentsherman merged commit 9e296b8 into master Nov 7, 2025
22 of 23 checks passed
@bentsherman bentsherman deleted the remove-runtime-checks-strict-syntax branch November 7, 2025 19:22
bentsherman added a commit that referenced this pull request Jan 23, 2026
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Process is already defined" error with nested subworkflows

2 participants