-
Couldn't load subscription status.
- Fork 1.4k
Scala 3.0.0-RC2 #4874
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
Scala 3.0.0-RC2 #4874
Conversation
|
🤔 [error] -- Error: /home/runner/work/zio/zio/test/shared/src/main/scala/zio/test/DefaultMutableRunnableSpec.scala:22:6
[error] 22 |class DefaultMutableRunnableSpec extends MutableRunnableSpec(ZLayer.identity[TestEnvironment], TestAspect.identity)
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] |class DefaultMutableRunnableSpec cannot be instantiated since it has conflicting base type arguments zio.test.Annotations & zio.test.environment.Live & zio.test.Sized &
[error] | zio.test.environment.TestClock
[error] | & zio.test.TestConfig & zio.test.environment.TestConsole &
[error] | zio.test.environment.TestRandom
[error] | & zio.test.environment.TestSystem and zio.ZEnv |
|
@sideeffffect It looks like adding a type alias for the intersection types resolves the issue. I submitted a PR against your branch with that change. I will open an issue with the Scala 3 team but that should get us going for now. |
|
Commented on scala/scala3#11995, which I believe is the same issue. |
Add Type Alias
|
Thanks Adam! ❤️ |
|
Dotty build seemed to have failed only on a flaky test 😄 Could somebody restart it, please? |
test-tests/shared/src/test/scala/zio/test/MutableRunnableSpecSpec.scala
Outdated
Show resolved
Hide resolved
test-tests/shared/src/test/scala/zio/test/MutableRunnableSpecSpec.scala
Outdated
Show resolved
Hide resolved
|
@sideeffffect Not flakiness but I think we are running into #4802. I suggested a couple of changes that will resolve the issue for now. |
Co-authored-by: Adam Fraser <[email protected]>
# Conflicts: # .github/workflows/ci.yml # project/BuildHelper.scala
|
Green 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sideeffffect Thanks for your work on this!
No description provided.