We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Failed at .getOrElse(EitherT.leftT[IO, ()](SomeError("failed to call method")))
.getOrElse(EitherT.leftT[IO, ()](SomeError("failed to call method")))
Failed case:
foo match { case Right(value) => { bar .someMethod(value) .headOption .getOrElse(EitherT.leftT[IO, ()](SomeError("failed to call method"))) } ... }
I found out it can pass when workaround with changing () to Unit .getOrElse(EitherT.leftT[IO, Unit](SomeError("failed to call method")))
()
Unit
.getOrElse(EitherT.leftT[IO, Unit](SomeError("failed to call method")))
Pass case:
foo match { case Right(value) => { bar .someMethod(value) .headOption .getOrElse(EitherT.leftT[IO, Unit](SomeError("failed to call method"))) } ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Failed at
.getOrElse(EitherT.leftT[IO, ()](SomeError("failed to call method")))
Failed case:
I found out it can pass when workaround with changing
()
toUnit
.getOrElse(EitherT.leftT[IO, Unit](SomeError("failed to call method")))
Pass case:
The text was updated successfully, but these errors were encountered: