-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I recently stumbled upon a weird interaction between this plugin and refined.
The problem is referenced in a comment of this issue.
To put it simply, when splain is active, the macro expansion from refined start failing (with a weird ClassCastException) when used in the REPL (but everything works fine in regular compiation).
To reproduce the problem, one can define the following build.sbt
scalaVersion in ThisBuild := "2.12.4"
libraryDependencies += "eu.timepit" %% "refined" % "0.8.7"
addCompilerPlugin("io.tryp" %% "splain" % "0.2.7" cross CrossVersion.patch)and past the following lines in the console:
import eu.timepit.refined._, api._, auto._, char._, generic._, collection._
val str: String Refined Forall[UpperCase] = "FOO"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels