{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/hashlink/issues/152","repository_url":"https://api.github.com/repos/HaxeFoundation/hashlink","labels_url":"https://api.github.com/repos/HaxeFoundation/hashlink/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/hashlink/issues/152/comments","events_url":"https://api.github.com/repos/HaxeFoundation/hashlink/issues/152/events","html_url":"https://github.com/HaxeFoundation/hashlink/issues/152","id":323161756,"number":152,"title":"Reflect.callMethod on inline static method","user":{"login":"aliokan","id":3050307,"avatar_url":"https://avatars0.githubusercontent.com/u/3050307?v=4","gravatar_id":"","url":"https://api.github.com/users/aliokan","html_url":"https://github.com/aliokan","followers_url":"https://api.github.com/users/aliokan/followers","following_url":"https://api.github.com/users/aliokan/following{/other_user}","gists_url":"https://api.github.com/users/aliokan/gists{/gist_id}","starred_url":"https://api.github.com/users/aliokan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliokan/subscriptions","organizations_url":"https://api.github.com/users/aliokan/orgs","repos_url":"https://api.github.com/users/aliokan/repos","events_url":"https://api.github.com/users/aliokan/events{/privacy}","received_events_url":"https://api.github.com/users/aliokan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T10:40:00Z","updated_at":"2018-05-15T10:40:00Z","closed_at":null,"author_association":"NONE","body":"```haxe\r\nclass Main {\r\n\tstatic function main()\r\n\t{\r\n\t\tReflect.callMethod(Main, Main.build, []);\r\n\t}\r\n\r\n\tinline static public function build( x : Int = 0, y : Int = 0 )\r\n\t{\r\n\t\treturn { x: x, y: y };\r\n\t}\r\n}\r\n```\r\n\r\n```\r\nUncaught exception: Can't cast #$Main to i32\r\nCalled from $Reflect.callMethod(/Users/user/haxe/versions/dbe1772/std/hl/_std/Reflect.hx:95)\r\nCalled from $Main.main(Main.hx:4)\r\nCalled from fun$332(?:1)\r\nCalled from @0xAE003D0\r\n```"}}
{"actor":{"display_login":"aliokan"}}