Skip to content
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

fix compile errors with latest Scala 2.13 #869

Merged
merged 1 commit into from May 2, 2019

Conversation

Projects
None yet
2 participants
@xuwei-k
Copy link
Contributor

commented Apr 23, 2019

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]                                                                                    ^
fix compile errors with latest Scala 2.13
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]                                                                                    ^
```
@Avasil

This comment has been minimized.

Copy link
Collaborator

commented May 2, 2019

Thank you @xuwei-k

@Avasil Avasil merged commit 779613a into monix:master May 2, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.