-
Notifications
You must be signed in to change notification settings - Fork 21
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
ClassCastException (ArraySeq) when pattern-matching on varargs case class #11476
Comments
This is ... interesting.
|
@Jasper-M Nice minimization. |
culprit guess, is it scala/scala#7068? (refs #11040) note that this isn't an RC1 regression; it was broken in M5 too @adriaanm suspects https://github.com/scala/scala/pull/7068/files#diff-352de7f9c77a7e21df6940d6a1bcdc7eR574 @eed3si9n wonders if scala/scala#6485 is also related |
@cheeseng is this hard to work around in your codebase? wondering how much of a 2.13 blocker it is |
Well, “suspect” is too strong right now. Maybe the PR was just in the
wrong place at the wrong time :-)
…On Mon, 8 Apr 2019 at 16:08, Seth Tisue ***@***.***> wrote:
@cheeseng <https://github.com/cheeseng> is this hard to work around in
your codebase? wondering how much of a 2.13 blocker it is
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11476 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFjy1CE4q9zT5fmV3q-MZm6WpqrFcwwks5ve2lsgaJpZM4ciV4j>
.
|
@SethTisue Not really a blocker, we just want to understand the reason behind tests failing under 2.13, and this is one of them. |
We encounter a weird ClassCastException when running our tests in ScalaTest for org.scalactic.Every, that looks like this:
I tried to minimize the problem but not quite successful, the best I can do is to include the source of Every as com.test.Every, in the attached zip (a sbt project), you can reproduce the problem by running:
If you change the scala version to 2.12.8, it works without problem.
test-bug.zip
The text was updated successfully, but these errors were encountered: