Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sideeffffect
Copy link
Member

No description provided.

@sideeffffect
Copy link
Member Author

🤔

[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

@adamgfraser
Copy link
Contributor

@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.

@adamgfraser
Copy link
Contributor

Commented on scala/scala3#11995, which I believe is the same issue.

@sideeffffect
Copy link
Member Author

Thanks Adam! ❤️

@sideeffffect
Copy link
Member Author

Dotty build seemed to have failed only on a flaky test 😄 Could somebody restart it, please?

@adamgfraser
Copy link
Contributor

@sideeffffect Not flakiness but I think we are running into #4802. I suggested a couple of changes that will resolve the issue for now.

sideeffffect and others added 2 commits April 6, 2021 17:12
# Conflicts:
#	.github/workflows/ci.yml
#	project/BuildHelper.scala
@sideeffffect
Copy link
Member Author

Green 🎉

Copy link
Contributor

@adamgfraser adamgfraser left a 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!

@adamgfraser adamgfraser merged commit e375b3a into zio:master Apr 7, 2021
@sideeffffect sideeffffect deleted the scala-3.0.0-RC2 branch April 7, 2021 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants