diff --git a/moduledefs/src-3/Cacher.scala b/moduledefs/src-3/Cacher.scala index 50f51d9..b253764 100644 --- a/moduledefs/src-3/Cacher.scala +++ b/moduledefs/src-3/Cacher.scala @@ -51,7 +51,7 @@ object Cacher { val thisSel = This(owner.owner).asExprOf[Cacher] '{ $thisSel.cachedTarget[T](${ t })(using $enclosingCtx) } } else report.errorAndAbort( - "Task{} members must be defs defined in a Cacher class/trait/object body", + "Task{} members must be defs defined in a Module class/trait/object body", Position.ofMacroExpansion ) }