8000 fix compile errors with latest Scala 2.13 by xuwei-k · Pull Request #869 · monix/monix · GitHub
[go: up one dir, main page]

Skip to content
8000

fix compile errors with latest Scala 2.13 - #869

Merged
Avasil merged 1 commit into
monix:masterfrom
xuwei-k:fix-2.13-error
May 2, 2019
Merged

Avasil merged 1 commit into
monix:masterfrom
xuwei-k:fix-2.13-error

Conversation

@xuwei-k
@xuwei-k xuwei-k commented Apr 23, 2019
Copy link
Copy Markdown
Contributor

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]                                                                                    ^

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
Avasil commented May 2, 2019
Copy link
Copy Markdown
Collaborator

Thank you @xuwei-k

@Avasil
Avasil merged commit 779613a into monix:master May 2, 2019
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]                                                                                    ^
```
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

0