-
Notifications
You must be signed in to change notification settings - Fork 92
Increment scala to 2.11.12, 2.12.4 and 2.13.0-M3 #186
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
Conversation
Failed with
|
you need Scala.js 0.6.22 |
Ok, giving it a try. And...
This doesn't ring a bell for me. |
nor I. does it ring a bell for @sjrd?
|
Er ... doesn't look like anything to me :s It is true that, according to JUnit which uses Java-s What is not normal is that it expected a The first thing to try to diagnose the issue would be
(the command supports auto-completion) If the IR is correct, it is probably on me. If the IR is incorrect, try compiling with That said, if it's scalac's fault, I don't know how the test passes on the JVM :s |
Actually, did the test pass on the JVM? I don't see it in the logs for JVM+2.13.0-M3 (but I'm on mobile, so I might have missed it). |
Yes, the test works in the JVM. Seems the test passes with 0.6.22 with 2.13.0-M2, but fails in 2.13.0-M3. Here's how the intermediate representation changes in 2.13.0-M3 from 2.13.0-M2: https://gist.github.com/ashawley/0b63bdcc8cd0f862cfaf0a3851f80211/revisions |
I'll have a look when I get to a computer. |
Looks like a Scala.js bug, in the sense that the In the meantime, you can unblock this PR with a workaround: write |
Well ... that one was really really weird. Minimization and full analysis here: scala-js/scala-js#3281. We will fix that in 0.6.23, but it will be at least 6 weeks away from now. I strongly recommend you work around the bug with the explicit |
Happy to fix the test with a workaround, since it's silly test as written, anyway. And if you're tracking down the defect upstream, I'll destroy the evidence here. You're a real übermensch and thanks again. |
Also fixes defect in scalajs 0.6.22 and scala 2.13.0-M3
No description provided.