{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4740","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4740/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4740/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4740/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4740","id":123880934,"number":4740,"title":"[analyzer] Assignment type issue","user":{"login":"Simn","id":634365,"avatar_url":"https://avatars.githubusercontent.com/u/634365?v=3","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},"labels":[{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/feature-analyzer","name":"feature-analyzer","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"Simn","id":634365,"avatar_url":"https://avatars.githubusercontent.com/u/634365?v=3","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},"milestone":null,"comments":0,"created_at":"2015-12-25T13:16:40Z","updated_at":"2015-12-25T13:16:40Z","closed_at":null,"body":"```haxe\r\nabstract Maybe<T>(Null<T>) from Null<T> {\r\n\tpublic inline function or(def:T):T {\r\n\t\treturn if (this != null) this else def;\r\n\t}\r\n}\r\n\r\nclass Main {\r\n\tstatic function main() {\r\n\t\tvar session:Int = (null : Maybe<Null<Int>>).or(0);\r\n\t\tSys.println(session);\r\n\t}\r\n}\r\n```\r\n\r\nThe created assignments have the wrong type (rhs instead of lhs)."}}