{"action":"opened","issue":{"url":"https://api.github.com/repos/jdonaldson/promhx/issues/51","labels_url":"https://api.github.com/repos/jdonaldson/promhx/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jdonaldson/promhx/issues/51/comments","events_url":"https://api.github.com/repos/jdonaldson/promhx/issues/51/events","html_url":"https://github.com/jdonaldson/promhx/issues/51","id":64326777,"number":51,"title":"Promise.when not working with Haxe 3.2","user":{"login":"DanielUranga","id":1651950,"avatar_url":"https://avatars.githubusercontent.com/u/1651950?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielUranga","html_url":"https://github.com/DanielUranga","followers_url":"https://api.github.com/users/DanielUranga/followers","following_url":"https://api.github.com/users/DanielUranga/following{/other_user}","gists_url":"https://api.github.com/users/DanielUranga/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielUranga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielUranga/subscriptions","organizations_url":"https://api.github.com/users/DanielUranga/orgs","repos_url":"https://api.github.com/users/DanielUranga/repos","events_url":"https://api.github.com/users/DanielUranga/events{/privacy}","received_events_url":"https://api.github.com/users/DanielUranga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T17:29:57Z","updated_at":"2015-03-25T17:29:57Z","closed_at":null,"body":"This code:\r\n\r\n```haxe\r\nimport promhx.Promise;\r\n\r\nclass Main {\r\n\r\n\tstatic function promA() : Promise<Float> {\r\n\t\treturn new Promise<Float>();\r\n\t}\r\n\r\n\tstatic function promB() : Promise<Float> {\r\n\t\treturn new Promise<Float>();\r\n\t}\r\n\r\n\tstatic function main() {\r\n\t\tPromise.when(promA(), promB()).then(function (a, b) {\r\n\t\t\ttrace(\"a: \" + a + \", b: \" + b);\r\n\t\t});\r\n\t}\r\n\r\n}\r\n```\r\n\r\nFails to compile with Haxe 3.2 RC:\r\n```\r\nDokkoGroups-MacBook-Pro-2:nullbool dokkogroup$ haxe compile.hxml \r\n/Users/dokkogroup/Documents/haxe/haxelib/promhx/git/src/main/promhx/Promise.hx:49: characters 16-25 : Cannot access private field _update\r\n./Main.hx:14: characters 2-32 : Called from macro here\r\n/Users/dokkogroup/Documents/haxe/haxelib/promhx/git/src/main/promhx/Promise.hx:51: characters 40-57 : Cannot access private field handleResolve\r\n./Main.hx:14: characters 2-32 : Called from macro here\r\n./Main.hx:14: characters 2-32 : Cannot access private field _val\r\n./Main.hx:14: characters 2-32 : Cannot access private field _val\r\n```\r\n\r\nMaybe its an Haxe bug?\r\n"}}