Conversation
|
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.) |
| (rule | ||
| (target remote_old_decls_ffi.ml) | ||
| (action | ||
| (copy# ../facebook/remote_old_decls/stubs/remote_old_decls_ffi.ml remote_old_decls_ffi.ml))) |
There was a problem hiding this comment.
Alternatively if upgrading to Dune 3.17.0+ is fine, there's a file-available macro.
|
Could you run ocamlformat and update the PR? |
5b20140 to
80ebba7
Compare
|
Done, also added ocamlformat as an OSS dep in #9573. |
|
The sandcastle module looks wrong, I'm seeing a compile error: |
|
Yeah, looks like the OSS stub will need to be included conditionally in non-fbsource builds only. I'll see what I can do, there are some preexisting examples for this. |
80ebba7 to
79beca1
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
79beca1 to
76fa3ac
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
|
FWIW this isn't passing our CI still: |
|
Yeah, the exclusion logic is definitely wrong. I'll look into this, thanks! |
|
@Wilfred Sorry about the delay, finally had some time to take a look at this. I think it will be necessary to rename the internal Let me know if you have any questions! |
muglug
left a comment
There was a problem hiding this comment.
This worked for us, with three lines changed
| ~ignore_hh_version:_ | ||
| ~opts:_ = | ||
| let get_project_metadata ~repo:_ ~ignore_hh_version:_ ~opts:_ = | ||
| failwith "Not implemented" |
There was a problem hiding this comment.
This needs to return Lwt.return (Error ("Not implemented", Telemetry.create ())) for the IDE integration to work.
Otherwise the init_with_find call terminates execution.
| ~ignore_hh_version:_ | ||
| ~saved_state_type:_ = | ||
| let load ~ssopt:_ ~progress_callback:_ ~watchman_opts:_ ~ignore_hh_version:_ = | ||
| failwith "Not implemented" |
There was a problem hiding this comment.
This needs to return Lwt.return (Error "Not implemented") for the IDE integration to work
| files_changed: Saved_state_loader.changed_files; | ||
| } | ||
|
|
||
| let load ~project_metadata:_ ~threshold:_ ~root:_ = failwith "Not implemented" |
There was a problem hiding this comment.
This needs to return Error "Not implemented" for IDE integration to work — otherwise the init_with_fetch call terminates execution.
76fa3ac to
9cfe901
Compare
Thanks! Updated this branch now. |
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
9cfe901 to
541b134
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
541b134 to
52c2c79
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
52c2c79 to
5df86e9
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
5df86e9 to
20ee33e
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
20ee33e to
51c051e
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
51c051e to
31ca7e0
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
31ca7e0 to
0ea4b48
Compare
|
@mszabo-wikia has updated the pull request. You must reimport the pull request before landing. |
|
@vassilmladenov has imported this pull request. If you are a Meta employee, you can view this in D67915401. (Because this pull request was imported automatically, there will not be any future comments.) |
|
@vassilmladenov merged this pull request in 72a8742. |
|
This pull request has been reverted by 0ff6066. |
The OSS OCaml stubs under src/stubs have become out of sync with the code referencing them.
Update the stubs to match.
Split from #9564.