error: the `task` variable may only be used within a task command section or task output section using WDL 1.2 or later, or within a task requirements, task hints, or task runtime section using WDL 1.3 or later
┌─ tests/analysis/task-variable-unsupported/source.wdl:7:28
│
7 │ echo "Hello from ~{task.name}!"
│ ^^^^
error: the `task` variable may only be used within a task command section or task output section using WDL 1.2 or later, or within a task requirements, task hints, or task runtime section using WDL 1.3 or later
┌─ tests/analysis/task-variable-unsupported/source.wdl:11:23
│
11 │ String name = task.name
│ ^^^^