Skip to content

Revert #2307 ( Hint on type error on numeric operators )#8827

Merged
Octachron merged 4 commits intoocaml:4.09from
gasche:revert-numeric-operators-hint
Aug 12, 2019
Merged

Revert #2307 ( Hint on type error on numeric operators )#8827
Octachron merged 4 commits intoocaml:4.09from
gasche:revert-numeric-operators-hint

Conversation

@gasche
Copy link
Copy Markdown
Member

@gasche gasche commented Jul 24, 2019

As announced in #2307 (comment), there is no consensus for the in-compiler implementatoin of #2307, and the maintainers thus decided that it was best to revert the change for now.

This PR is a manual revert of #2307, keeping the refactoring commits and avoiding conflicts with the later refactorings of #2313, removing only the core logic for type errors on numeric operators.

It is targeted for 4.09 (we want to revert before the feature is released!), but I plan to cherry-pick to trunk afterwards.

gasche added 3 commits August 1, 2019 07:46
This partially reverts commit 0bc5b71.
This reverts commit d926fdb.

The present revert commit was hand-written (by Gabriel Scherer)
to avoid conflicts with the subsequent changes in
e728886.
@gasche gasche force-pushed the revert-numeric-operators-hint branch from b0d5f29 to abb0523 Compare August 1, 2019 05:54
@gasche gasche force-pushed the revert-numeric-operators-hint branch from abb0523 to afc20b4 Compare August 1, 2019 21:14
@gasche
Copy link
Copy Markdown
Member Author

gasche commented Aug 1, 2019 via email

(following presentation advice from Florian Angeletti)
@gasche
Copy link
Copy Markdown
Member Author

gasche commented Aug 2, 2019

@Octachron: if/when you approve of the PR, please feel free to merge.

@Octachron
Copy link
Copy Markdown
Member

Ok, I shall review a little more cautiously on Monday and then merge.

@Octachron Octachron merged commit 1fadc49 into ocaml:4.09 Aug 12, 2019
Octachron added a commit that referenced this pull request Sep 19, 2019
Revert #2307 ( Hint on type error on numeric operators )

(cherry picked from commit 1fadc49)
@Octachron
Copy link
Copy Markdown
Member

Cherry-picked on trunk as c56ed41

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