Skip to content

Commit

Permalink
Merge pull request #38 from xuwei-k/fix-2.13-err
Browse files Browse the repository at this point in the history
fix compile error with latest Scala 2.13.x
  • Loading branch information
kxbmap authored Mar 21, 2019
2 parents 10a1151 + 5587649 commit 3a32094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/configs/Result.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sealed abstract class Result[+A] extends Product with Serializable {
def handleWith[B >: A](pf: PartialFunction[ConfigError, Result[B]]): Result[B]

final def handle[B >: A](pf: PartialFunction[ConfigError, B]): Result[B] =
handleWith(pf.andThen(Result.successful))
handleWith(pf.andThen(Result.successful(_)))

def mapError(f: ConfigError => ConfigError): Result[A]

Expand Down

0 comments on commit 3a32094

Please sign in to comment.