Open mdarse opened 2 days ago
Ooh this is really spooky! I've checked and v1 seems to behave the same. Since it compiles just fine when the types still line up, I'm not sure if fixing this would be considered a breaking change... we'll have to wait for Louis to weigh in on this
Let's fix this, @mdarse's assumptions on the intended behaviour are correct.
Hi!
I encounter what I believe to be a bug if the two following properties hold:
Here is a reduction of my original code that motivated me to digg into this issue. The bug is kind of sneaky because two String parameters are silently reversed when a third (labelled) argument corresponding to the first function parameter is added.
Using different types to make the issue more obvious. Every line below with a
Error expecting XXX
comment doesn’t type check.Sonoma 14.7 (23H124)