Skip to content

Commit

Permalink
Update Cacher.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Oct 28, 2024
1 parent 5daaadf commit acdc535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moduledefs/src-3/Cacher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
Expand Down

0 comments on commit acdc535

Please sign in to comment.