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
post-2.13.1 regression: getClass
not found in secondary constructor body
#660
Comments
I don't mind giving it a half-hearted sob, I mean stab. |
Not sure if standalone repro means akka/stream not compiling or minimization. stream just compiled for me with tip. Edit: akka-stream-testkit, naturally. (Edit again, sorry I meant naturally that was the failure.) But let this be said: you will never stand alone. |
Oh, by "standalone" I meant minimization. but also, the akka-stream failure is reproducible for me outside dbuild, on the diff --git akka-testkit/src/test/scala/akka/testkit/WithLogCapturing.scala akka-testkit/src/test/scala/akka/testkit/WithLogCapturing.scala
index 6305061e36..456925951d 100644
--- akka-testkit/src/test/scala/akka/testkit/WithLogCapturing.scala
+++ akka-testkit/src/test/scala/akka/testkit/WithLogCapturing.scala
@@ -55,7 +55,7 @@ trait WithLogCapturing extends SuiteMixin { this: TestSuite =>
override def write(b: Int): Unit = oldOut.write(b)
}) {
override def println(x: Any): Unit =
- oldOut.println(prefix + String.valueOf(x).replaceAllLiterally("\n", s"\n$prefix"))
+ oldOut.println(prefix + String.valueOf(x).replace("\n", s"\n$prefix"))
} but in order to get this to work I had to would it be helpful if I pushed a branch to my fork of the community-build repo that just has Akka-stream and its dependencies? I could easily do that (with that new |
So I have akka-stream-testkit failing, taking a look. Since it compiles without the lint flag, I'll probably just roll back that "quick fix". Inference should be able to tell us if it was constrained to infer |
These are not the classes you're looking for. Before scala/scala#8541 you could always find a class. |
Thanks @joroKr21 and I see Seth already mentioned the PR. Maybe I'll have to de-revert the other PR, but only if I have a chance to test it first. |
ah, not actually a Scala regression! akka/akka#28355 👍 I will get that into the community build |
on Scala version 2.13.2-bin-161c2a7, in the 2.13 community build, at e.g. https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/2860/consoleFull , akka-stream is failing with:
ordinarily I could easily
git bisect
my way to the culprit scala/scala commit, but in this case I can't because the regression seems to have occurred somewhere in a range of commits where akka-stream failed to compile for a different reason. that reason was fixed by @som-snytt in scala/scala#8577, uncovering this other regressionI made some halfhearted stabs at a standalone reproduction, but failed. for example:
actually I tried a little harder than that, and I could certainly try harder still, but before I dig any deeper, I want to ask:
Som, what might be going on here, does any insight jump out at you? could scala/scala#8547 and/or scala/scala#8541 somehow be related?
getClass
is of course a "universal member", so the presence of "universal member" in those PRs caught my attentionThe text was updated successfully, but these errors were encountered: