{"action":"created","issue":{"url":"https://api.github.com/repos/broadinstitute/wdltool/issues/32","repository_url":"https://api.github.com/repos/broadinstitute/wdltool","labels_url":"https://api.github.com/repos/broadinstitute/wdltool/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/broadinstitute/wdltool/issues/32/comments","events_url":"https://api.github.com/repos/broadinstitute/wdltool/issues/32/events","html_url":"https://github.com/broadinstitute/wdltool/issues/32","id":236266912,"number":32,"title":"Validation misses case where nonexistent output is assigned to Array","user":{"login":"MatthewMah","id":7673282,"avatar_url":"https://avatars1.githubusercontent.com/u/7673282?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewMah","html_url":"https://github.com/MatthewMah","followers_url":"https://api.github.com/users/MatthewMah/followers","following_url":"https://api.github.com/users/MatthewMah/following{/other_user}","gists_url":"https://api.github.com/users/MatthewMah/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewMah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewMah/subscriptions","organizations_url":"https://api.github.com/users/MatthewMah/orgs","repos_url":"https://api.github.com/users/MatthewMah/repos","events_url":"https://api.github.com/users/MatthewMah/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewMah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-15T17:51:17Z","updated_at":"2017-11-14T18:58:19Z","closed_at":"2017-11-14T18:58:18Z","author_association":"NONE","body":"The following example passes validation, and I think it should not. I think validation should be able to identify that a nonexistent output field is trying to be read. \r\n\r\n```\r\nworkflow ShouldNotValidate{\r\n\tcall A{}\r\n\tArray[File] simple = [A.nonexistent]\r\n\tcall B{ input:\r\n\t\tin = simple\r\n\t}\r\n}\r\n\r\ntask A{\r\n\tcommand{\r\n\t\techo \"A\" > out\r\n\t}\r\n\toutput{\r\n\t\tFile out = \"out\"\r\n\t}\r\n}\r\n\r\ntask B{\r\n\tArray[File] in\r\n\r\n\tcommand{\r\n\t\tcat ${sep=' ' in}\r\n\t}\r\n\toutput{\r\n\t}\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/broadinstitute/wdltool/issues/comments/344361259","html_url":"https://github.com/broadinstitute/wdltool/issues/32#issuecomment-344361259","issue_url":"https://api.github.com/repos/broadinstitute/wdltool/issues/32","id":344361259,"user":{"login":"mcovarr","id":10790523,"avatar_url":"https://avatars1.githubusercontent.com/u/10790523?v=4","gravatar_id":"","url":"https://api.github.com/users/mcovarr","html_url":"https://github.com/mcovarr","followers_url":"https://api.github.com/users/mcovarr/followers","following_url":"https://api.github.com/users/mcovarr/following{/other_user}","gists_url":"https://api.github.com/users/mcovarr/gists{/gist_id}","starred_url":"https://api.github.com/users/mcovarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcovarr/subscriptions","organizations_url":"https://api.github.com/users/mcovarr/orgs","repos_url":"https://api.github.com/users/mcovarr/repos","events_url":"https://api.github.com/users/mcovarr/events{/privacy}","received_events_url":"https://api.github.com/users/mcovarr/received_events","type":"User","site_admin":false},"created_at":"2017-11-14T18:58:19Z","updated_at":"2017-11-14T18:58:19Z","author_association":"CONTRIBUTOR","body":"Issue moved to [broadinstitute/cromwell #2881](https://github.com/broadinstitute/cromwell/issues/2881) via [**ZenHub**](https://www.zenhub.com/)\n"}}
{"actor":{"display_login":"mcovarr"}}