-
Notifications
You must be signed in to change notification settings - Fork 16
Merge 5.2.0-minus11 #146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Merge 5.2.0-minus11 #146
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
7590887
Import ocaml sources for ocaml-flambda/flambda-backend@60158e06115
goldfirere dd2a500
Merge changes
goldfirere e174f16
Move Unit_info from parsing to typing
goldfirere 019117e
Now merlin needs Numbers (dependency from Jkind)
goldfirere 669c924
Fix easy errors
goldfirere 2e48759
Harder fixes. Please review.
goldfirere 5f4e47b
More edits that require review
goldfirere b8a8b5b
Fix default pattern recovery
liam923 028a45b
Bump magic numbers
liam923 0a61a4c
Format files
liam923 6341c53
Promote some tests
liam923 cd4428d
Fix test to use new mode syntax
liam923 1ccc448
Promote failing parameters test
liam923 188a9ae
Add new ignored flags
liam923 4123c5a
Improve construction of unit_info
liam923 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this won't break anything, but using
make_dummyscares me a bit. It seems like the type of thing that may cause something to break down the line. If we want to callUnit_info.make_with_known_compilation_unit, we can useconfig.query.filenameto fillsource_file.I'm not sure about
intf_or_impl- I don't know if Merlin knows that at this point (I'm not sure if Merlin decides this based on solely the filename or whether it's able to parse successfully). And I don't know that thefile_prefixargument is for.Maybe @lukemaurer can chime in on the significance of using
make_dummyhere, and what the deal is withfile_prefix?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I wanted @lukemaurer to review this piece. It was very low confidence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, if there's a real source file then we don't want to be using
make_dummyif we can avoid it.make_with_known_compilation_unitmakes a lot of sense to me. Theintf_or_implthing is annoying - wish I could remember exactly what it's used forThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to have lost my permissions to push to this repo. @lukemaurer can you look at the below commit: liam923/merlin@4123c5a
Specifically, I'm not sure what to pass for the
file_prefixtoUnit_info.make_with_known_compilation_unit.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aha I've gotten my permissions back. Commit 4123c5a is pushed here now.