Skip to content

Fixes for renaming #1924

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 5 commits into from
Apr 16, 2025
Merged

Fixes for renaming #1924

merged 5 commits into from
Apr 16, 2025

Conversation

voodoos
Copy link
Collaborator

@voodoos voodoos commented Apr 16, 2025

No description provided.

String.compare
(Filename.basename (G.fetch t1.filename))
(Filename.basename (G.fetch t2.filename))
String.compare (G.fetch t1.filename) (G.fetch t2.filename)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👯

@voodoos voodoos merged commit 24d7be5 into ocaml:main Apr 16, 2025
8 of 10 checks passed
voodoos added a commit to voodoos/merlin that referenced this pull request May 20, 2025
voodoos added a commit to voodoos/merlin that referenced this pull request Jun 23, 2025
voodoos added a commit to voodoos/merlin that referenced this pull request Jun 24, 2025
voodoos added a commit to voodoos/opam-repository that referenced this pull request Jun 24, 2025
CHANGES:

Tue Jun 24 16:10:42 CEST 2025

  + merlin library
    - Expose utilities to manipulate typed-holes in `Merlin_analysis.Typed_hole`
      (ocaml/merlin#1888)
    - `locate` can now disambiguate between files with identical names and contents
      (ocaml/merlin#1882)
    - `occurrences` now reports stale files (ocaml/merlin#1885)
    - `inlay-hints` fix inlay hints on function parameters (ocaml/merlin#1923)
    - Fix issues with ident validation and Lid comparison for occurrences (ocaml/merlin#1924)
    - Handle class type in outline (ocaml/merlin#1932)
    - Handle locally defined value in outline (ocaml/merlin#1936)
    - Fix a typer issue triggering assertions in the short-paths graph (ocaml/merlin#1935,
      fixes ocaml/merlin#1913)
    - Downstreamed a typer fix from 5.3.X that would trigger assertions linked
      to scopes bit masks when backtracking the typer cache (ocaml/merlin#1935)
    - Add a new selection field to outline results that contains the location of
      the symbol itself. (ocaml/merlin#1942)
    - Fix destruct hanging when printing patterns with (::). (ocaml/merlin#1944, fixes
      ocaml/ocaml-lsp#1489)
    - Reproduce and fix a handful of jump-to-definition (locate) issues  (ocaml/merlin#1930,
      fixes ocaml/merlin#1580 and ocaml/merlin#1588, workaround for ocaml/merlin#1934)
  + ocaml-index
    - Improve the granularity of index reading by segmenting the marshalization
      of the involved data-structures. (ocaml/merlin#1889)
  + test suite
    - Add a test case illustrating wrong open order proposed in issue ocaml/merlin#1900. (ocaml/merlin#1901)
voodoos added a commit to voodoos/merlin-jst that referenced this pull request Jun 26, 2025
voodoos added a commit to voodoos/merlin-jst that referenced this pull request Jun 27, 2025
voodoos added a commit to voodoos/merlin-jst that referenced this pull request Jun 30, 2025
liam923 pushed a commit to oxcaml/merlin that referenced this pull request Jul 10, 2025
liam923 added a commit to oxcaml/merlin that referenced this pull request Jul 16, 2025
* Downstream: Fix occurrences when the definition's source is hidden (ocaml/merlin#1865)

* Downstream: Use new uid info to fix jumps and provide occurrences in both the interface and the implementation (ocaml/merlin #1857)

* Downstream: perform less merges when indexing (ocaml/merlin#1881)

Immediately grow the final index instead of building and merging.

* Merge project-wide renaming changes from  (ocaml/merlin#1877)

* Merge changes adding granular marshal (ocaml/merlin#1889)

* Disable new upstream test relying on Dune

* Downstream: Fixes for renaming(ocaml/merlin#1924)

* Reformat files

* Undo  ->  change

* Add fold to Granular_set

* Resolve conflicts in occurrences.ml

* Promote good test changes

* Fix json serialization for renaming scope

* Promote more good test changes

* Review changes in locate.ml

* Review 1857

* Handle store_shapes in index.ml

* Review occurrences.ml

* Make functor renaming test run

* Review r-modules-and-types.t

* Resolve cr

* Add missing .merlin file

---------

Co-authored-by: Ulysse Gérard <[email protected]>
Co-authored-by: Ulysse <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants