{"action":"created","issue":{"url":"https://api.github.com/repos/diml/utop/issues/107","repository_url":"https://api.github.com/repos/diml/utop","labels_url":"https://api.github.com/repos/diml/utop/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/diml/utop/issues/107/comments","events_url":"https://api.github.com/repos/diml/utop/issues/107/events","html_url":"https://github.com/diml/utop/issues/107","id":46727164,"number":107,"title":"#load \"_build/foo.cmo\" doesn't error, but seems to do nothing","user":{"login":"unhammer","id":56868,"avatar_url":"https://avatars.githubusercontent.com/u/56868?v=3","gravatar_id":"","url":"https://api.github.com/users/unhammer","html_url":"https://github.com/unhammer","followers_url":"https://api.github.com/users/unhammer/followers","following_url":"https://api.github.com/users/unhammer/following{/other_user}","gists_url":"https://api.github.com/users/unhammer/gists{/gist_id}","starred_url":"https://api.github.com/users/unhammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unhammer/subscriptions","organizations_url":"https://api.github.com/users/unhammer/orgs","repos_url":"https://api.github.com/users/unhammer/repos","events_url":"https://api.github.com/users/unhammer/events{/privacy}","received_events_url":"https://api.github.com/users/unhammer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-24T11:07:20Z","updated_at":"2016-02-09T16:07:13Z","closed_at":null,"body":"I have bar.ml which uses stuff from foo.ml, and do `ocamlbuild bar.native` which gives me a `_build/foo.cmo`. To use bar from utop, I can do\r\n\r\n    #directory \"_build\";;\r\n    #load \"foo.cmo\";;\r\n\r\nand things work like expected (I can use functions like Foo.foo). I would've thought a shortcut to this would be simply\r\n\r\n    #load \"_build/foo.cmo\";;\r\n\r\n– utop doesn't complain that it's not possible, but now `Foo.foo` gives `Error: Unbound module Foo`.  \r\n\r\nShould this work, or should it give an error, or am I misunderstanding this?"},"comment":{"url":"https://api.github.com/repos/diml/utop/issues/comments/181931083","html_url":"https://github.com/diml/utop/issues/107#issuecomment-181931083","issue_url":"https://api.github.com/repos/diml/utop/issues/107","id":181931083,"user":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T16:07:13Z","updated_at":"2016-02-09T16:07:13Z","body":"Yeah, it should probably warn as @unhammer says."}}