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.
2 parents 61f37d2 + ce06957 commit 21bc723Copy full SHA for 21bc723
src/delegate.jl
@@ -9,7 +9,7 @@ function unquote(e::QuoteNode)
9
return e.value
10
end
11
12
-macro delegate(source, targets)
+macro delegate(source::Expr, targets::Expr)
13
typename = esc(source.args[1])
14
fieldname = unquote(source.args[2])
15
funcnames = targets.args
@@ -25,7 +25,7 @@ macro delegate(source, targets)
25
return Expr(:block, fdefs...)
26
27
28
-macro delegate_return_parent(source, targets)
+macro delegate_return_parent(source::Expr, targets::Expr)
29
30
31
0 commit comments