Repository navigation
fix compile errors with latest Scala 2.13 - #869
Merged
Merged
Conversation
https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1981/consoleText ``` [monix] [error] /home/jenkins/workspace/scala-2.13.x-integrate-community-build/target-0.9.16/project-builds/monix-68f96a20147d411e5f7069a24342c5d9f961029a/monix-reactive/shared/src/main/scala/monix/reactive/Observable.scala:2483:52: missing argument list for method now in object Observable [monix] [error] Unapplied methods are only converted to functions when a function type is expected. [monix] [error] You can make this conversion explicit by writing `now _` or `now(_)` instead of `now`. [monix] [error] onErrorHandleWith(ex => (pf andThen Observable.now).applyOrElse(ex, Observable.raiseError)) [monix] [error] ^ [monix] [error] /home/jenkins/workspace/scala-2.13.x-integrate-community-build/target-0.9.16/project-builds/monix-68f96a20147d411e5f7069a24342c5d9f961029a/monix-reactive/shared/src/main/scala/monix/reactive/Observable.scala:2483:84: missing argument list for method raiseError in object Observable [monix] [error] Unapplied methods are only converted to functions when a function type is expected. [monix] [error] You can make this conversion explicit by writing `raiseError _` or `raiseError(_)` instead of `raiseError`. [monix] [error] onErrorHandleWith(ex => (pf andThen Observable.now).applyOrElse(ex, Observable.raiseError)) [monix] [error] ^ ```
Collaborator
|
Thank you @xuwei-k |
mdedetrich
pushed a commit
to mdedetrich/monix
that referenced
this pull request
Mar 28, 2020
https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1981/consoleText ``` [monix] [error] /home/jenkins/workspace/scala-2.13.x-integrate-community-build/target-0.9.16/project-builds/monix-68f96a20147d411e5f7069a24342c5d9f961029a/monix-reactive/shared/src/main/scala/monix/reactive/Observable.scala:2483:52: missing argument list for method now in object Observable [monix] [error] Unapplied methods are only converted to functions when a function type is expected. [monix] [error] You can make this conversion explicit by writing `now _` or `now(_)` instead of `now`. [monix] [error] onErrorHandleWith(ex => (pf andThen Observable.now).applyOrElse(ex, Observable.raiseError)) [monix] [error] ^ [monix] [error] /home/jenkins/workspace/scala-2.13.x-integrate-community-build/target-0.9.16/project-builds/monix-68f96a20147d411e5f7069a24342c5d9f961029a/monix-reactive/shared/src/main/scala/monix/reactive/Observable.scala:2483:84: missing argument list for method raiseError in object Observable [monix] [error] Unapplied methods are only converted to functions when a function type is expected. [monix] [error] You can make this conversion explicit by writing `raiseError _` or `raiseError(_)` instead of `raiseError`. [monix] [error] onErrorHandleWith(ex => (pf andThen Observable.now).applyOrElse(ex, Observable.raiseError)) [monix] [error] ^ ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1981/consoleText