Skip to content

Commit

Permalink
Fix bug with module entries disambiguation and postponed fixities
Browse files Browse the repository at this point in the history
This updates the disambiguation algorithm for module entries to support postponed fixity pragmas (#270).
  • Loading branch information
MartyO256 committed May 7, 2024
1 parent 8df5506 commit 0e99faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/signature_disambiguation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ struct
| Synprs.Signature.Declaration.Raw_module
{ location; identifier; entries } ->
add_module state ~location identifier (fun state ->
let entries' = traverse_list state disambiguate_entry entries in
let entries' = disambiguate_entries state entries in
Synext.Signature.Declaration.Module
{ location; identifier; entries = entries' })

Expand Down

0 comments on commit 0e99faf

Please sign in to comment.