-
Notifications
You must be signed in to change notification settings - Fork 7
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
type mismatch in complex return expressions #20
Comments
it seems that the function of chaining returns is not supported yet. |
Hi @Moinheart, I think we don't support chaining properly yet, or some implicits are missing, the only thing that's off is the return type of the construct but the hierarchy is well defined. @bjankie1 this is your territory, any suggestions here? Regards, |
I'm looking into that. Regards, On Mon, 11 Jan 2016 at 13:48 Flavian Alexandru [email protected]
|
The easiest way to resolve it for now is to instruct Scala to apply certain returns { case (t1 ~~ (r ~~ t2)) => r} Regards, On Tue, 12 Jan 2016 at 21:59 Bartosz Jankiewicz <
|
@bjankie1 the first solution that you suggest doesn't work in the test case. |
I try to use Reactiveneo like this referred in README.md:
but there is a compile error in returns method:
and when i write
returns { case t1 ~~ r ~~ t2 ~~ _ => r}
orreturns { case t1 ~~ r ~~ t2 ~~ _ => t2}
, the error msg is:Could you help me solve this problem?
The text was updated successfully, but these errors were encountered: