Skip to content

Conversation

@JeffBezanson
Copy link
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 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 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

3 participants