We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nothing
:method
1 parent 3a625c5 commit e073cd7Copy full SHA for e073cd7
doc/src/devdocs/ast.md
@@ -341,9 +341,10 @@ These symbols appear in the `head` field of [`Expr`](@ref)s in lowered form.
341
342
* `args[1]`
343
344
- A function name, or `false` if unknown. If a symbol, then the expression first
345
- behaves like the 1-argument form above. This argument is ignored from then on. When
346
- this is `false`, it means a method is being added strictly by type, `(::T)(x) = x`.
+ A function name, or `nothing` if unknown or unneeded. If a symbol, then the expression
+ first behaves like the 1-argument form above. This argument is ignored from then on.
+ It can be `nothing` when methods are added strictly by type, `(::T)(x) = x`,
347
+ or when a method is being added to an existing function, `MyModule.f(x) = x`.
348
349
* `args[2]`
350
0 commit comments