{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/6916","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/6916/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/6916/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/6916/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/6916","id":307528159,"node_id":"MDU6SXNzdWUzMDc1MjgxNTk=","number":6916,"title":"--display error in CompletionServer","user":{"login":"R32","id":6825113,"node_id":"MDQ6VXNlcjY4MjUxMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/6825113?v=4","gravatar_id":"","url":"https://api.github.com/users/R32","html_url":"https://github.com/R32","followers_url":"https://api.github.com/users/R32/followers","following_url":"https://api.github.com/users/R32/following{/other_user}","gists_url":"https://api.github.com/users/R32/gists{/gist_id}","starred_url":"https://api.github.com/users/R32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R32/subscriptions","organizations_url":"https://api.github.com/users/R32/orgs","repos_url":"https://api.github.com/users/R32/repos","events_url":"https://api.github.com/users/R32/events{/privacy}","received_events_url":"https://api.github.com/users/R32/received_events","type":"User","site_admin":false},"labels":[{"id":54849468,"node_id":"MDU6TGFiZWw1NDg0OTQ2OA==","url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/feature-compiler-cache","name":"feature-compiler-cache","color":"fad8c7","default":false},{"id":54849919,"node_id":"MDU6TGFiZWw1NDg0OTkxOQ==","url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/feature-ide","name":"feature-ide","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/12","html_url":"https://github.com/HaxeFoundation/haxe/milestone/12","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/12/labels","id":3272779,"node_id":"MDk6TWlsZXN0b25lMzI3Mjc3OQ==","number":12,"title":"Bugs","description":"We probably have to do something, but we might not know how.","creator":{"login":"Simn","id":634365,"node_id":"MDQ6VXNlcjYzNDM2NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/634365?v=4","gravatar_id":"","url":"https://api.github.com/users/Simn","html_url":"https://github.com/Simn","followers_url":"https://api.github.com/users/Simn/followers","following_url":"https://api.github.com/users/Simn/following{/other_user}","gists_url":"https://api.github.com/users/Simn/gists{/gist_id}","starred_url":"https://api.github.com/users/Simn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simn/subscriptions","organizations_url":"https://api.github.com/users/Simn/orgs","repos_url":"https://api.github.com/users/Simn/repos","events_url":"https://api.github.com/users/Simn/events{/privacy}","received_events_url":"https://api.github.com/users/Simn/received_events","type":"User","site_admin":false},"open_issues":225,"closed_issues":72,"state":"open","created_at":"2018-04-17T06:03:38Z","updated_at":"2018-07-27T05:49:41Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-03-22T07:05:27Z","updated_at":"2018-07-28T06:20:03Z","closed_at":"2018-05-18T12:37:51Z","author_association":"CONTRIBUTOR","body":"[haxedevelop proj.zip](https://github.com/HaxeFoundation/haxe/files/1836433/js.zip)\r\nMain.hx\r\n```haxe\r\n@:build(Macros.build())\r\nclass Main {\r\n\tstatic function main() {\r\n\t\ttrace(\"hello owrld!\");\r\n\t\ttrace(Main);\r\n\t}\r\n}\r\n```\r\nMacros.hx\r\n```haxe\r\nclass Macros {\r\n\tpublic static function build() {\r\n\t\tvar t = haxe.macro.Context.getType(\"js.html.DOMElement\");\r\n\t\tswitch(t) {\r\n\t\tcase TInst(r, _):\r\n\t\t\tvar c = r.get();\r\n\t\t\ttrace(r.toString()+ \"  ---  \" +c.superClass.t.toString());\r\n\t\tdefault:\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n}\r\n```\r\nAs shown in GIF, the **`.superClass.t.toString`** should return a full name: `js.html.Node` \r\n\r\n![error](https://user-images.githubusercontent.com/6825113/37755910-490b0b38-2de2-11e8-83cc-332192ba80b1.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/408586275","html_url":"https://github.com/HaxeFoundation/haxe/issues/6916#issuecomment-408586275","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/6916","id":408586275,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODU4NjI3NQ==","user":{"login":"R32","id":6825113,"node_id":"MDQ6VXNlcjY4MjUxMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/6825113?v=4","gravatar_id":"","url":"https://api.github.com/users/R32","html_url":"https://github.com/R32","followers_url":"https://api.github.com/users/R32/followers","following_url":"https://api.github.com/users/R32/following{/other_user}","gists_url":"https://api.github.com/users/R32/gists{/gist_id}","starred_url":"https://api.github.com/users/R32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/R32/subscriptions","organizations_url":"https://api.github.com/users/R32/orgs","repos_url":"https://api.github.com/users/R32/repos","events_url":"https://api.github.com/users/R32/events{/privacy}","received_events_url":"https://api.github.com/users/R32/received_events","type":"User","site_admin":false},"created_at":"2018-07-28T06:20:03Z","updated_at":"2018-07-28T06:20:03Z","author_association":"CONTRIBUTOR","body":"Finally, I feel that this issue has been solved by 602fddb06e9e06c2969504469f6f189cb2bf7928"}}
{"actor":{"display_login":"R32"}}