{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4666","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4666/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4666/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4666/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4666","id":118594293,"number":4666,"title":"Returning Dynamic from @:genericBuild macros has no effect","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T12:02:01Z","updated_at":"2015-11-24T12:02:01Z","closed_at":null,"body":"This is because `build_instance` tries to bind the type by unifying:\r\n\r\n```ocaml\r\nlet t = mk_mono() in\r\nr := (fun() -> t);\r\nunify_raise ctx (f()) t p;\r\nt\r\n```\r\n\r\nHowever, Dynamic is never bound to a monomorph, so `t` remains a monomorph."}}