{"action":"created","issue":{"url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/issues/84","repository_url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator","labels_url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/issues/84/comments","events_url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/issues/84/events","html_url":"https://github.com/reasonml-community/bs-webapi-incubator/issues/84","id":272287339,"node_id":"MDU6SXNzdWUyNzIyODczMzk=","number":84,"title":"Opening Webapi.Dom shadows `None`","user":{"login":"cassiozen","id":33676,"node_id":"MDQ6VXNlcjMzNjc2","avatar_url":"https://avatars2.githubusercontent.com/u/33676?v=4","gravatar_id":"","url":"https://api.github.com/users/cassiozen","html_url":"https://github.com/cassiozen","followers_url":"https://api.github.com/users/cassiozen/followers","following_url":"https://api.github.com/users/cassiozen/following{/other_user}","gists_url":"https://api.github.com/users/cassiozen/gists{/gist_id}","starred_url":"https://api.github.com/users/cassiozen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassiozen/subscriptions","organizations_url":"https://api.github.com/users/cassiozen/orgs","repos_url":"https://api.github.com/users/cassiozen/repos","events_url":"https://api.github.com/users/cassiozen/events{/privacy}","received_events_url":"https://api.github.com/users/cassiozen/received_events","type":"User","site_admin":false},"labels":[{"id":434439249,"node_id":"MDU6TGFiZWw0MzQ0MzkyNDk=","url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-08T17:41:50Z","updated_at":"2018-06-23T03:52:41Z","closed_at":null,"author_association":"NONE","body":"Reason beginner here, so apologies in advance if this is not a bug.\r\n\r\nIf I `open Webapi.Dom`, it shadows the `None` constructor, and I cannot have optional variables in the same file.\r\n\r\nIt currently shadows None with `Webapi.Dom.eventPhase`.\r\n"},"comment":{"url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/issues/comments/399628095","html_url":"https://github.com/reasonml-community/bs-webapi-incubator/issues/84#issuecomment-399628095","issue_url":"https://api.github.com/repos/reasonml-community/bs-webapi-incubator/issues/84","id":399628095,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTYyODA5NQ==","user":{"login":"alexfedoseev","id":4244251,"node_id":"MDQ6VXNlcjQyNDQyNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/4244251?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfedoseev","html_url":"https://github.com/alexfedoseev","followers_url":"https://api.github.com/users/alexfedoseev/followers","following_url":"https://api.github.com/users/alexfedoseev/following{/other_user}","gists_url":"https://api.github.com/users/alexfedoseev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfedoseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfedoseev/subscriptions","organizations_url":"https://api.github.com/users/alexfedoseev/orgs","repos_url":"https://api.github.com/users/alexfedoseev/repos","events_url":"https://api.github.com/users/alexfedoseev/events{/privacy}","received_events_url":"https://api.github.com/users/alexfedoseev/received_events","type":"User","site_admin":false},"created_at":"2018-06-23T03:52:41Z","updated_at":"2018-06-23T03:52:41Z","author_association":"CONTRIBUTOR","body":"In my case explicit type doesn't help, `None` is still shadowed.\r\n\r\nWhat about namespasing it more? E.g.\r\n\r\n```reason\r\nmodule EventPhase = {\r\n  type t =\r\n    | ...\r\n    | None;\r\n};"}}
{"actor":{"display_login":"alexfedoseev"}}