{"action":"created","issue":{"url":"https://api.github.com/repos/ocsigen/eliom/issues/244","repository_url":"https://api.github.com/repos/ocsigen/eliom","labels_url":"https://api.github.com/repos/ocsigen/eliom/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/ocsigen/eliom/issues/244/comments","events_url":"https://api.github.com/repos/ocsigen/eliom/issues/244/events","html_url":"https://github.com/ocsigen/eliom/issues/244","id":131168825,"number":244,"title":"Shared sections and type inference","user":{"login":"vouillon","id":2060632,"avatar_url":"https://avatars.githubusercontent.com/u/2060632?v=3","gravatar_id":"","url":"https://api.github.com/users/vouillon","html_url":"https://github.com/vouillon","followers_url":"https://api.github.com/users/vouillon/followers","following_url":"https://api.github.com/users/vouillon/following{/other_user}","gists_url":"https://api.github.com/users/vouillon/gists{/gist_id}","starred_url":"https://api.github.com/users/vouillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vouillon/subscriptions","organizations_url":"https://api.github.com/users/vouillon/orgs","repos_url":"https://api.github.com/users/vouillon/repos","events_url":"https://api.github.com/users/vouillon/events{/privacy}","received_events_url":"https://api.github.com/users/vouillon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T22:04:47Z","updated_at":"2016-02-12T15:36:59Z","closed_at":null,"body":"This piece of code:\r\n```\r\nlet%shared f= ~%()\r\n```\r\ncompiled with:\r\n```\r\neliomc -ppx -infer bug.eliom && js_of_eliom -ppx -c bug.eliom\r\n```\r\nyields the following warning:\r\n```\r\nFile \"bug.eliom\", line 1, characters 16-18:\r\nWarning 22: The type of this injected value contains a type variable that could be wrongly inferred.\r\n```"},"comment":{"url":"https://api.github.com/repos/ocsigen/eliom/issues/comments/183377047","html_url":"https://github.com/ocsigen/eliom/issues/244#issuecomment-183377047","issue_url":"https://api.github.com/repos/ocsigen/eliom/issues/244","id":183377047,"user":{"login":"vasilisp","id":4950946,"avatar_url":"https://avatars.githubusercontent.com/u/4950946?v=3","gravatar_id":"","url":"https://api.github.com/users/vasilisp","html_url":"https://github.com/vasilisp","followers_url":"https://api.github.com/users/vasilisp/followers","following_url":"https://api.github.com/users/vasilisp/following{/other_user}","gists_url":"https://api.github.com/users/vasilisp/gists{/gist_id}","starred_url":"https://api.github.com/users/vasilisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasilisp/subscriptions","organizations_url":"https://api.github.com/users/vasilisp/orgs","repos_url":"https://api.github.com/users/vasilisp/repos","events_url":"https://api.github.com/users/vasilisp/events{/privacy}","received_events_url":"https://api.github.com/users/vasilisp/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T15:36:59Z","updated_at":"2016-02-12T15:36:59Z","body":"I think 4d8aa62 fixes the issue. @Drup, please take a look!"}}