{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/merlin/issues/678","repository_url":"https://api.github.com/repos/ocaml/merlin","labels_url":"https://api.github.com/repos/ocaml/merlin/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/merlin/issues/678/comments","events_url":"https://api.github.com/repos/ocaml/merlin/issues/678/events","html_url":"https://github.com/ocaml/merlin/issues/678","id":244782135,"number":678,"title":"FLG/ppx handling seems to be broken with jbuilder","user":{"login":"hcarty","id":199147,"avatar_url":"https://avatars3.githubusercontent.com/u/199147?v=4","gravatar_id":"","url":"https://api.github.com/users/hcarty","html_url":"https://github.com/hcarty","followers_url":"https://api.github.com/users/hcarty/followers","following_url":"https://api.github.com/users/hcarty/following{/other_user}","gists_url":"https://api.github.com/users/hcarty/gists{/gist_id}","starred_url":"https://api.github.com/users/hcarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcarty/subscriptions","organizations_url":"https://api.github.com/users/hcarty/orgs","repos_url":"https://api.github.com/users/hcarty/repos","events_url":"https://api.github.com/users/hcarty/events{/privacy}","received_events_url":"https://api.github.com/users/hcarty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-21T20:59:33Z","updated_at":"2017-07-24T10:52:54Z","closed_at":null,"body":"Using Lwt 3.1.0's recent release, jbuilder produces the following FLG line:\r\n```\r\nFLG -ppx \"../_build/default/.ppx/lwt.ppx/ppx.exe --as-ppx --cookie 'library-name=\"mylib\"'\"\r\n```\r\nwhich causes at least the vim mode for merlin to choke and fail.  The error seems to be:\r\n```\r\nmerlin.Error: {u'message': u\"Error while running external preprocessor\\nCommand line: ../_build/default/.ppx/lwt.ppx/ppx.exe --as-ppx --cookie 'library-name=mylib' '/tmp/camlppxb1b38e' '/tmp/camlppxdb29d9' 1>/dev/null 2>/dev/null\", u'valid': True, u'type': u'type', u'sub': []}\r\n```\r\nThis is using merlin 2.5.5 and jbuilder 1.0+beta10.\r\n\r\n@diml as I'm not sure if this is a merlin or jbuilder issue"},"comment":{"url":"https://api.github.com/repos/ocaml/merlin/issues/comments/317387361","html_url":"https://github.com/ocaml/merlin/issues/678#issuecomment-317387361","issue_url":"https://api.github.com/repos/ocaml/merlin/issues/678","id":317387361,"user":{"login":"let-def","id":1048096,"avatar_url":"https://avatars2.githubusercontent.com/u/1048096?v=4","gravatar_id":"","url":"https://api.github.com/users/let-def","html_url":"https://github.com/let-def","followers_url":"https://api.github.com/users/let-def/followers","following_url":"https://api.github.com/users/let-def/following{/other_user}","gists_url":"https://api.github.com/users/let-def/gists{/gist_id}","starred_url":"https://api.github.com/users/let-def/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/let-def/subscriptions","organizations_url":"https://api.github.com/users/let-def/orgs","repos_url":"https://api.github.com/users/let-def/repos","events_url":"https://api.github.com/users/let-def/events{/privacy}","received_events_url":"https://api.github.com/users/let-def/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T10:52:54Z","updated_at":"2017-07-24T10:52:54Z","body":"Yes, merlin tries to follow shell splitting conventions. I will try to reproduce that, @hcarty can you share the code?"}}
{"actor":{"display_login":"let-def"}}