mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Use fully qualified name in the macro
This commit is contained in:
@@ -201,7 +201,7 @@ object Instance {
|
||||
val tx = util.transformWrappers(tree, (n, tpe, t, replace) => sub(n, tpe, t, replace))
|
||||
// resetting attributes must be: a) local b) done here and not wider or else there are obscure errors
|
||||
val tr = makeApp(inner(tx))
|
||||
val noWarn = q"""($tr: @scala.annotation.nowarn("cat=other-pure-statement"))"""
|
||||
val noWarn = q"""($tr: @_root_.scala.annotation.nowarn("cat=other-pure-statement"))"""
|
||||
c.Expr[i.M[N[T]]](noWarn)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user