8000 Update to Scala 2.13.5 and 3.0.0-RC1 by sideeffffect · Pull Request #4770 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update to Scala 2.13.5 and 3.0.0-RC1 #4770

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

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

sideeffffect
Copy link
Member
@sideeffffect sideeffffect commented Mar 6, 2021

adamgfraser
adamgfraser previously approved these changes Mar 6, 2021
@neko-kai
Copy link
Member
neko-kai commented Mar 6, 2021

👍

neko-kai
neko-kai previously approved these changes Mar 6, 2021
@sideeffffect
Copy link
Member Author
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:61:63 
[error] 61 |        And(self.mock.compose ++ that.mock.compose)(xs1 ++ xs2).asInstanceOf[Expectation[R with R0]]
[error]    |                                                               ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:61
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:63:63 
[error] 63 |        And(self.mock.compose ++ that.mock.compose)(xs :+ that).asInstanceOf[Expectation[R with R0]]
[error]    |                                                               ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:63
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:65:63 
[error] 65 |        And(self.mock.compose ++ that.mock.compose)(self :: xs).asInstanceOf[Expectation[R with R0]]
[error]    |                                                               ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:65
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:66:80 
[error] 66 |      case _ => And(self.mock.compose ++ that.mock.compose)(self :: that :: Nil).asInstanceOf[Expectation[R with R0]]
[error]    |                                                                                ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:66
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:79:65 
[error] 79 |        Chain(self.mock.compose ++ that.mock.compose)(xs1 ++ xs2).asInstanceOf[Expectation[R with R0]]
[error]    |                                                                 ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:79
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:81:65 
[error] 81 |        Chain(self.mock.compose ++ that.mock.compose)(xs :+ that).asInstanceOf[Expectation[R with R0]]
[error]    |                                                                 ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:81
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:83:65 
[error] 83 |        Chain(self.mock.compose ++ that.mock.compose)(self :: xs).asInstanceOf[Expectation[R with R0]]
[error]    |                                                                 ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:83
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:84:82 
[error] 84 |      case _ => Chain(self.mock.compose ++ that.mock.compose)(self :: that :: Nil).asInstanceOf[Expectation[R with R0]]
[error]    |                                                                                  ^
[error]    |                     Exception occurred while executing macro expansion.
[error]    |                     java.lang.StackOverflowError
[error]    |
[error]    | This location contains code that was inlined from Expectation.scala:84
[error]    | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:117:62 
[error] 117 |        Or(self.mock.compose ++ that.mock.compose)(xs1 ++ xs2).asInstanceOf[Expectation[R with R0]]
[error]     |                                                              ^
[error]     |                   Exception occurred while executing macro expansion.
[error]     |                   java.lang.StackOverflowError
[error]     |
[error]     | This location contains code that was inlined from Expectation.scala:117
[error]     | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:119:62 
[error] 119 |        Or(self.mock.compose ++ that.mock.compose)(xs :+ that).asInstanceOf[Expectation[R with R0]]
[error]     |                                                              ^
[error]     |                   Exception occurred while executing macro expansion.
[error]     |                   java.lang.StackOverflowError
[error]     |
[error]     | This location contains code that was inlined from Expectation.scala:119
[error]     | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:121:62 
[error] 121 |        Or(self.mock.compose ++ that.mock.compose)(self :: xs).asInstanceOf[Expectation[R with R0]]
[error]     |                                                              ^
[error]     |                   Exception occurred while executing macro expansion.
[error]     |                   java.lang.StackOverflowError
[error]     |
[error]     | This location contains code that was inlined from Expectation.scala:121
[error]     | This location contains code that was inlined from Tags.scala:131
[error] -- Error: /home/circleci/project/test/shared/src/main/scala/zio/test/mock/Expectation.scala:122:79 
[error] 122 |      case _ => Or(self.mock.compose ++ that.mock.compose)(self :: that :: Nil).asInstanceOf[Expectation[R with R0]]
[error]     |                                                                               ^
[error]     |                   Exception occurred while executing macro expansion.
[error]     |                   java.lang.StackOverflowError
[error]     |
[error]     | This location contains code that was inlined from Expectation.scala:122
[error]     | This location contains code that was inlined from Tags.scala:131

@neko-kai
Copy link
Member
neko-kai commented Mar 8, 2021

@sideeffffect Argh, I fixed another instance of this error last time, but apparently not this one. on it rn

@neko-kai
Copy link
Member
neko-kai commented Mar 9, 2021

@sideeffffect Could you try with 1.0.0-M16?

@sideeffffect sideeffffect dismissed stale reviews from neko-kai and adamgfraser via fffe7bf March 9, 2021 09:27
@neko-kai
Copy link
Member
neko-kai commented Mar 9, 2021

Passed on 2nd try, but 1st failure doesn't seem related (ZStream test) 🎉

@sideeffffect sideeffffect requested a review from adamgfraser March 9, 2021 11:04
@sideeffffect
Copy link
Member Author

@adamgfraser I think we can merge this now 🎉

@adamgfraser
Copy link
Contributor

@sideeffffect Nice!

@neko-kai Thank you for staying on top of all the changes in the different Scala 3 versions!

@adamgfraser adamgfraser merged commit 02f2f72 into zio:master Mar 9, 2021
@sideeffffect sideeffffect deleted the update-scala-version branch March 9, 2021 13:36
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.

Publish ZIO for Scala 3.0.0-RC1
3 participants
0