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 33a27d4 commit 5daaadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moduledefs/src-2/Cacher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object Cacher {
if (ownerIsCacherClass && owner.isMethod) q"this.cachedTarget[${weakTypeTag[R]}]($t)"
else c.abort(
c.enclosingPosition,
"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"
)
}
}

0 comments on commit 5daaadf

Please sign in to comment.