From 3f8694322e78f429120652425e22e73f4d90e30f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 27 Sep 2016 18:01:29 -0700 Subject: [PATCH] be 2.12.0-RC1 compatible reference: https://github.com/typelevel/cats/issues/1377 --- core/src/main/scala/cats/Eval.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/scala/cats/Eval.scala b/core/src/main/scala/cats/Eval.scala index 36348160fea..f6440c22979 100644 --- a/core/src/main/scala/cats/Eval.scala +++ b/core/src/main/scala/cats/Eval.scala @@ -74,8 +74,8 @@ sealed abstract class Eval[+A] extends Serializable { self => case c: Eval.Compute[A] => new Eval.Compute[B] { type Start = c.Start - val start = c.start - val run = (s: c.Start) => + val start: () => Eval[Start] = c.start + val run: Start => Eval[B] = (s: c.Start) => new Eval.Compute[B] { type Start = A val start = () => c.run(s)