Skip to content

Commit 34a3f7f

Browse files
authored
Use fully qualified name in the macro
1 parent 3d784b9 commit 34a3f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-macros/src/main/scala/sbt/internal/util/appmacro/Instance.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ object Instance {
201201
val tx = util.transformWrappers(tree, (n, tpe, t, replace) => sub(n, tpe, t, replace))
202202
// resetting attributes must be: a) local b) done here and not wider or else there are obscure errors
203203
val tr = makeApp(inner(tx))
204-
val noWarn = q"""($tr: @scala.annotation.nowarn("cat=other-pure-statement"))"""
204+
val noWarn = q"""($tr: @_root_.scala.annotation.nowarn("cat=other-pure-statement"))"""
205205
c.Expr[i.M[N[T]]](noWarn)
206206
}
207207

0 commit comments

Comments
 (0)