Added macro for testing error messages.

More tests should be added so feel free to check whatever you want.

Review by @vjovanov and @gzm0
sorry, I changed sublime settings later.


On 10 July 2014 17:07, Tobias Schlatter <notifications@github.com> wrote:

> In common/src/main/scala/records/test/TypecheckingMacros.scala:
>
> > @@ -0,0 +1,50 @@
> > +package records
> > +package test
> > +
> > +import Compat210._
> > +import scala.reflect.macros.TypecheckException
> > +
> > +object TypecheckingMacros {
> > +  import scala.reflect.macros
> > +  import whitebox.Context
> > +
> > +  private class Macro[C <: Context](val c: C) {
> > +  	def typecheck(what: c.Expr[String],
>
> arrghhh.... tabs
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vjovanov/refined-records/pull/22/files#r14771401>.
>