Skip to content
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

fix regression with unit qualification #429

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented Apr 21, 2023

Fixes #428

The change in #418 introduced a regression if a Unit module in scope does not have a () constructor in it.

This switches to the more explicit Stdlib.Unit.() path.

@emillon emillon requested a review from rgrinberg as a code owner April 21, 2023 09:40
Fixes ocaml-community#428

The change in ocaml-community#418 introduced a regression if a `Unit` module in scope
does not have a `()` constructor in it.

This switches to the more explicit `Stdlib.Unit.()` path.
@emillon emillon merged commit a922be0 into ocaml-community:master Apr 21, 2023
@emillon emillon deleted the stdlib-unit branch April 21, 2023 10:18
emillon added a commit to emillon/opam-repository that referenced this pull request Apr 21, 2023
CHANGES:

* Fix regression with unit qualification when a `Unit` module is in scope with
  no `()` constructor (ocaml-community/utop#429, fixes ocaml-community/utop#428, @emillon)

* emacs: add completion-at-point implementation (ocaml-community/utop#406, fixes ocaml-community/utop#261, @j-shilling)
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.

regression with qualifying ()
1 participant