These are chat archives for japgolly/scalacss

5th
Sep 2016
Bhagyashree-B
@Bhagyashree-B
Sep 05 2016 10:31

Hi all , I have updated scalacss library to version 0.5.0 and I am getting compilation error for this method

def commonStyle[A](domain: Domain[A], base: String) = styleF(domain)(opt =>
    styleS(addClassNames(base, s"$base-$opt")))

and error is

[error]   could not find implicit value for evidence parameter of type scalacss.internal.StyleLookup[A]
[error]   Error occurred in an application involving default arguments.
[error]   def commonStyle[A](domain: Domain[A], base: String) = styleF(domain)(opt =>
[error]

previously I was using its 0.4.1 version and it was working perfectly fine. Not sure what am I doing wrong with latest version 0.5.0? any pointers?