{"action":"created","issue":{"url":"https://api.github.com/repos/GoASTScanner/gas/issues/113","repository_url":"https://api.github.com/repos/GoASTScanner/gas","labels_url":"https://api.github.com/repos/GoASTScanner/gas/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/GoASTScanner/gas/issues/113/comments","events_url":"https://api.github.com/repos/GoASTScanner/gas/issues/113/events","html_url":"https://github.com/GoASTScanner/gas/issues/113","id":200797125,"number":113,"title":"[BUG] Unexpected error \"undeclared name\"","user":{"login":"nicolaasuni","id":1186996,"avatar_url":"https://avatars.githubusercontent.com/u/1186996?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaasuni","html_url":"https://github.com/nicolaasuni","followers_url":"https://api.github.com/users/nicolaasuni/followers","following_url":"https://api.github.com/users/nicolaasuni/following{/other_user}","gists_url":"https://api.github.com/users/nicolaasuni/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaasuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaasuni/subscriptions","organizations_url":"https://api.github.com/users/nicolaasuni/orgs","repos_url":"https://api.github.com/users/nicolaasuni/repos","events_url":"https://api.github.com/users/nicolaasuni/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaasuni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-14T11:10:42Z","updated_at":"2017-01-16T17:09:45Z","closed_at":null,"body":"The latest master version with the 13th Jan changes (https://github.com/GoASTScanner/gas/commit/cc52ef5b26b37bf253625795b7de6de4d2ef82bd) is unexpectedly reporting the following error on one of my projects:\r\n```\r\n[gas] 2017/01/14 11:03:59 Processing \"/home/user/GO/src/project/src/authrequest.go\"...\r\n[gas] 2017/01/14 11:03:59 Failed to process: \"/home/user/GO/src/project/src/authrequest.go\"\r\n[gas] 2017/01/14 11:03:59 Error during type checking: \"/home/user/GO/src/project/src/authrequest.go:25:22: undeclared name: SamlAuthnRequest\"\r\n[gas] 2017/01/14 11:03:59 Halting execution.\r\n```\r\nAll previous gas tool versions works fine without reporting any error.\r\nThe  \"SamlAuthnRequest\" is a defined type struct."},"comment":{"url":"https://api.github.com/repos/GoASTScanner/gas/issues/comments/272917135","html_url":"https://github.com/GoASTScanner/gas/issues/113#issuecomment-272917135","issue_url":"https://api.github.com/repos/GoASTScanner/gas/issues/113","id":272917135,"user":{"login":"gcmurphy","id":222833,"avatar_url":"https://avatars.githubusercontent.com/u/222833?v=3","gravatar_id":"","url":"https://api.github.com/users/gcmurphy","html_url":"https://github.com/gcmurphy","followers_url":"https://api.github.com/users/gcmurphy/followers","following_url":"https://api.github.com/users/gcmurphy/following{/other_user}","gists_url":"https://api.github.com/users/gcmurphy/gists{/gist_id}","starred_url":"https://api.github.com/users/gcmurphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcmurphy/subscriptions","organizations_url":"https://api.github.com/users/gcmurphy/orgs","repos_url":"https://api.github.com/users/gcmurphy/repos","events_url":"https://api.github.com/users/gcmurphy/events{/privacy}","received_events_url":"https://api.github.com/users/gcmurphy/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T17:09:45Z","updated_at":"2017-01-16T17:09:45Z","body":"Might need to use something like https://godoc.org/golang.org/x/tools/go/loader to address these types of errors. "}}
{"actor":{"display_login":"gcmurphy"}}