wdl-analysis 0.19.1

Analysis of Workflow Description Language (WDL) documents.
Documentation
#@ except: UnusedDeclaration
## This is a test for forward references in a WDL task.

version 1.3

task forward_reference {
    # OK as the forward reference is to a string
    String x = a

    input {
        String a = "hello"

        # NOT OK as the forward reference is not to an Int
        Int y = z
    }

    String z = "5"

    requirements {
        cpu: y
    }

    hints {
        max_cpu: y
    }

    command <<<>>>
}