We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279ed1a commit ba713e3Copy full SHA for ba713e3
src/KeywordDispatch.jl
@@ -180,7 +180,7 @@ macro kwmethod(fexpr)
180
f = fcall.args[1]
181
182
length(fcall.args) >= 2 && fcall.args[2] isa Expr && fcall.args[2].head == :parameters ||
183
- error("@kwdef requires functions specify a keyword block.\nUse @kwdef `f(args...;)` to specify no keywords.")
+ error("@kwmethod requires functions specify a keyword block.\nUse @kwmethod `f(args...;)` to specify no keywords.")
184
185
kwargs = fcall.args[2].args
186
fargs = fcall.args[3:end]
0 commit comments