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

RFC: remove rule requiring Number types to implement specific promotions #26790

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

JeffBezanson
Copy link
Sponsor Member

We used this to prevent stack overflows from +(x::Number, y::Number) = +(promote(x,y)...), but now promote itself checks that types changed, which is sufficient to avoid the problem.

fixes #26779

@JeffBezanson JeffBezanson added the status:triage This should be discussed on a triage call label Apr 17, 2018
@StefanKarpinski StefanKarpinski merged commit 5179455 into master Apr 19, 2018
@StefanKarpinski StefanKarpinski deleted the jb/promotenum branch April 19, 2018 18:32
@JeffBezanson JeffBezanson removed the status:triage This should be discussed on a triage call label Apr 19, 2018
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.

ERROR: no promotion exists for MyInt and Int64
2 participants