{"action":"created","issue":{"url":"https://api.github.com/repos/mirah/mirah-parser/issues/23","labels_url":"https://api.github.com/repos/mirah/mirah-parser/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/mirah/mirah-parser/issues/23/comments","events_url":"https://api.github.com/repos/mirah/mirah-parser/issues/23/events","html_url":"https://github.com/mirah/mirah-parser/issues/23","id":87145453,"number":23,"title":"Cannot specify fully qualified types","user":{"login":"felixvf","id":11700328,"avatar_url":"https://avatars.githubusercontent.com/u/11700328?v=3","gravatar_id":"","url":"https://api.github.com/users/felixvf","html_url":"https://github.com/felixvf","followers_url":"https://api.github.com/users/felixvf/followers","following_url":"https://api.github.com/users/felixvf/following{/other_user}","gists_url":"https://api.github.com/users/felixvf/gists{/gist_id}","starred_url":"https://api.github.com/users/felixvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixvf/subscriptions","organizations_url":"https://api.github.com/users/felixvf/orgs","repos_url":"https://api.github.com/users/felixvf/repos","events_url":"https://api.github.com/users/felixvf/events{/privacy}","received_events_url":"https://api.github.com/users/felixvf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-10T23:40:47Z","updated_at":"2015-07-27T09:53:48Z","closed_at":"2015-07-27T09:53:48Z","body":"```bash\r\n# mirah -e 'def foo(a:java::util::Collection); puts a; end'\r\nDashE:1:\r\n\r\nERROR: expected tRParen before 'a:java::util:'\r\ndef foo(a:java::util::Collection); puts a; end\r\n        ^\r\nDashE failed to parse.\r\n1 errors\r\n# mirah -e 'def foo(a:java.util.Collection); puts a; end'\r\nDashE:1:\r\n\r\nERROR: expected tRParen before 'a:java.util.C'\r\ndef foo(a:java.util.Collection); puts a; end\r\n        ^\r\nDashE failed to parse.\r\n1 errors\r\n# mirah -e 'def foo(a:Collection); puts a; end'\r\nDashE:1:\r\n\r\nERROR: Cannot find class Collection\r\ndef foo(a:Collection); puts a; end\r\n        ^^^^^^^^^^^^\r\n1 errors\r\n# mirah -e 'def foo(a); puts a; end'\r\nDashE:1:\r\n\r\nERROR: Does not override a method from a supertype.\r\ndef foo(a); puts a; end\r\n        ^\r\n1 errors\r\n```\r\n\r\nAt least the first or the second form of specifying types in a fully qualiified way should work.\r\n\r\nSpecifying fully qualified types is necessary when writing macros, as the non-fully-qualified types of a macro are evaluated in the context of the macro caller, not in the context of the macro source code (which forces the macro caller to import a type which is actually not literally referenced by the macro caller)."},"comment":{"url":"https://api.github.com/repos/mirah/mirah-parser/issues/comments/125150879","html_url":"https://github.com/mirah/mirah-parser/issues/23#issuecomment-125150879","issue_url":"https://api.github.com/repos/mirah/mirah-parser/issues/23","id":125150879,"user":{"login":"felixvf","id":11700328,"avatar_url":"https://avatars.githubusercontent.com/u/11700328?v=3","gravatar_id":"","url":"https://api.github.com/users/felixvf","html_url":"https://github.com/felixvf","followers_url":"https://api.github.com/users/felixvf/followers","following_url":"https://api.github.com/users/felixvf/following{/other_user}","gists_url":"https://api.github.com/users/felixvf/gists{/gist_id}","starred_url":"https://api.github.com/users/felixvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixvf/subscriptions","organizations_url":"https://api.github.com/users/felixvf/orgs","repos_url":"https://api.github.com/users/felixvf/repos","events_url":"https://api.github.com/users/felixvf/events{/privacy}","received_events_url":"https://api.github.com/users/felixvf/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T09:53:48Z","updated_at":"2015-07-27T09:53:48Z","body":"Fixed."}}