{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7039","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7039/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7039/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7039/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/7039","id":324363638,"number":7039,"title":"Clarification about `final` on fields","user":{"login":"back2dos","id":509501,"avatar_url":"https://avatars3.githubusercontent.com/u/509501?v=4","gravatar_id":"","url":"https://api.github.com/users/back2dos","html_url":"https://github.com/back2dos","followers_url":"https://api.github.com/users/back2dos/followers","following_url":"https://api.github.com/users/back2dos/following{/other_user}","gists_url":"https://api.github.com/users/back2dos/gists{/gist_id}","starred_url":"https://api.github.com/users/back2dos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/back2dos/subscriptions","organizations_url":"https://api.github.com/users/back2dos/orgs","repos_url":"https://api.github.com/users/back2dos/repos","events_url":"https://api.github.com/users/back2dos/events{/privacy}","received_events_url":"https://api.github.com/users/back2dos/received_events","type":"User","site_admin":false},"labels":[{"id":926505292,"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/breaking-haxe4","name":"breaking-haxe4","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"Simn","id":634365,"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},"assignees":[{"login":"Simn","id":634365,"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},{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars2.githubusercontent.com/u/1022912?v=4","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/10","html_url":"https://github.com/HaxeFoundation/haxe/milestone/10","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/10/labels","id":1594842,"number":10,"title":"Release 4.0","description":"","creator":{"login":"Simn","id":634365,"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":65,"closed_issues":185,"state":"open","created_at":"2016-02-20T16:03:51Z","updated_at":"2018-05-18T10:59:17Z","due_on":"2019-05-01T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-05-18T10:54:10Z","updated_at":"2018-05-18T10:59:28Z","closed_at":null,"author_association":"MEMBER","body":"I've heard a number of times that `final` makes fields immutable. This is [not at all the case](http://try-haxe.mrcdk.com/#c6Bd9): \r\n\r\n```haxe\r\nvar o = { foo: 4 }\r\nvar o2:{ final foo:Int; } = o;\r\ntrace(o2.foo);//4\r\no.foo = 5;\r\ntrace(o2.foo);//5 - not very \"final\", is it?\r\n```\r\n\r\nIs this a type hole, or is it intentional?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/390172501","html_url":"https://github.com/HaxeFoundation/haxe/issues/7039#issuecomment-390172501","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7039","id":390172501,"user":{"login":"Simn","id":634365,"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},"created_at":"2018-05-18T10:59:28Z","updated_at":"2018-05-18T10:59:28Z","author_association":"MEMBER","body":"We have always allowed assigning to `(default, never)` like this, and given that `final` is just a shortcut for that, it's only consistent.\r\n\r\nNow, whether or not that's a good idea is another question."}}
{"actor":{"display_login":"Simn"}}