Skip to content

Commit

Permalink
fix: type in generic error message
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoene committed Sep 13, 2024
1 parent 0aaead8 commit 588be94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walker/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ func (w *Walker) walkDecoratorGeneric(node *ast.DecoratorGeneric) {
if n.Method.Name != "any" {
w.addFatalf(
n.Token,
"must set default method on `any`",
"must set generic method on `any`",
)
}
}
Expand Down

0 comments on commit 588be94

Please sign in to comment.