{"action":"closed","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4234","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4234/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4234/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4234/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4234","id":78040021,"number":4234,"title":"Calling Context.defineModule in Context.onTypeNotFound still errors","user":{"login":"back2dos","id":509501,"avatar_url":"https://avatars.githubusercontent.com/u/509501?v=3","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":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-19T11:00:54Z","updated_at":"2015-05-19T13:47:41Z","closed_at":"2015-05-19T13:47:41Z","body":"Because TypeDefinition lacks a few features (mostly import and using), it would be nicer to be able to call defineModule and have the compiler check again whether the type is still undefined after invoking all callbacks. I know that's not exactly pretty, but at least it wouldn't break any APIs."}}