You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
abstract type Foo endstruct Bar <:Fooendf(x::Foo, y) =1f(x::Foo, ::Nothing) =2f(x::Bar, y) =3f(x::Bar, ::Nothing) =4
x =Bar()
Base.@invokef(x::Foo, nothing) # should return 2, returns 1
Example due to @danielwe. I really think we should reconsider this. Yes, it's technically breaking. But man, this was really introduced and merged without enough discussion 😞. There were several objections to this behavior right after the PR was merged but then nothing was done about it.
The text was updated successfully, but these errors were encountered:
#38438 introduced this unfortunate behavior:
Example due to @danielwe. I really think we should reconsider this. Yes, it's technically breaking. But man, this was really introduced and merged without enough discussion 😞. There were several objections to this behavior right after the PR was merged but then nothing was done about it.
The text was updated successfully, but these errors were encountered: