{"action":"closed","issue":{"url":"https://api.github.com/repos/fsprojects/Fable/issues/163","repository_url":"https://api.github.com/repos/fsprojects/Fable","labels_url":"https://api.github.com/repos/fsprojects/Fable/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Fable/issues/163/comments","events_url":"https://api.github.com/repos/fsprojects/Fable/issues/163/events","html_url":"https://github.com/fsprojects/Fable/issues/163","id":156838223,"number":163,"title":"`internal` items are not exported","user":{"login":"ritcoder","id":254737,"avatar_url":"https://avatars.githubusercontent.com/u/254737?v=3","gravatar_id":"","url":"https://api.github.com/users/ritcoder","html_url":"https://github.com/ritcoder","followers_url":"https://api.github.com/users/ritcoder/followers","following_url":"https://api.github.com/users/ritcoder/following{/other_user}","gists_url":"https://api.github.com/users/ritcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ritcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritcoder/subscriptions","organizations_url":"https://api.github.com/users/ritcoder/orgs","repos_url":"https://api.github.com/users/ritcoder/repos","events_url":"https://api.github.com/users/ritcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ritcoder/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-25T20:04:49Z","updated_at":"2016-05-25T20:30:27Z","closed_at":"2016-05-25T20:30:27Z","body":"### Description\r\n\r\nItems defined with the internal property are not exported in the out. This mean that their use, even in the same file will through an exception as they are not defined.\r\n\r\nIs there a way to get to `Async` not silence exceptions (at least during development)? Took me quite a while to figure out what the issue was since the call was in an `async `.\r\n\r\n### Repro steps\r\n\r\n    namespace App.Ports\r\n\r\n    module Incoming =\r\n      module System =\r\n        let internal postLogoutRequest, onLogoutRequest =\r\n          (fun _ -> ()), (fun _ -> 3)\r\n\r\n    module Outgoing = \r\n      module System =\r\n        let logout () =\r\n          async {\r\n            Incoming.System.postLogoutRequest () } //silent error\r\n\r\n    module Test =\r\n      let t1 =\r\n        Outgoing.System.logout()\r\n        |> Async.Start\r\n      let t2 = Incoming.System.postLogoutRequest() //error:\r\n\r\n### Expected behavior\r\n\r\nGoodness\r\n\r\n### Actual behavior\r\n\r\n````\r\nTypeError: Incoming.System.postLogoutRequest is not a function\r\n    at U:\\Temp\\t\\accessorsTest.js:64:44\r\n    at U:\\Temp\\t\\accessorsTest.js:66:4\r\n    at Object.defineProperty.value (U:\\Temp\\t\\accessorsTest.js:5:5)\r\n    at Object.<anonymous> (U:\\Temp\\t\\accessorsTest.js:13:3)\r\n    at Module._compile (module.js:541:32)\r\n    at Object.Module._extensions..js (module.js:550:10)\r\n    at Module.load (module.js:458:32)\r\n    at tryModuleLoad (module.js:417:12)\r\n    at Function.Module._load (module.js:409:3)\r\n    at Module.require (module.js:468:17)\r\n````\r\n\r\n### Known workarounds\r\n\r\nDon't use `internal`\r\n\r\n### Related information \r\n\r\n* Operating system\r\n* Branch\r\n* .NET Runtime, CoreCLR or Mono Version\r\n* Performance information, links to performance testing scripts\r\n"}}
{"actor":{"display_login":"alfonsogarciacaro"}}