<console>:16: error: exception during macro expansion:
scala.MatchError: contextual.examples.int.IntStringContext(scala.StringContext.apply("1"))(str).int (of class scala.reflect.internal.Trees$Select)
at contextual.Macros.contextual(macros.scala:30)
int"1"
Example of StringContext wrapper.
implicit class IntStringContext(sc: StringContext)(implicit str: String) {
final val int = Prefix(IntParser, sc)
}
Fixes this error
Example of StringContext wrapper.