You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fun doSomething(): Either<CustomError, Unit> = ...
and
fun doWithoutEither() {
doSomething()
}
What do you think about adding a rule which will detect functions which return Either<Left, Right> but are called not inside either{} or their left side is not handled?
The text was updated successfully, but these errors were encountered:
Let say I have a function:
and
What do you think about adding a rule which will detect functions which return
Either<Left, Right>
but are called not insideeither{}
or their left side is not handled?The text was updated successfully, but these errors were encountered: