Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit binding of inputs is allowed in 1.0 docs #245

Open
a-frantz opened this issue Nov 1, 2024 · 0 comments
Open

Implicit binding of inputs is allowed in 1.0 docs #245

a-frantz opened this issue Nov 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@a-frantz
Copy link
Member

a-frantz commented Nov 1, 2024

This goes against the spec, which says implicit bindings are only allowed in >=v1.1.

Discovered in #244

Confirmed by this test:

$ cat tmp.wdl
version 1.0

workflow test {
    input {
        String foo
    }

    call bar { input: foo }
}

task bar {
    input {
        String foo
    }

    command <<<>>>
}
$ sprocket check tmp.wdl
warning[UnusedCall]: unused call `bar`
  ┌─ tmp.wdl:8:10
  │
8 │     call bar { input: foo }
  │          ^^^

warning[UnusedInput]: unused input `foo`
   ┌─ tmp.wdl:13:16
   │
13 │         String foo
   │                ^^^
@a-frantz a-frantz added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant