File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
stdlib/InteractiveUtils/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ function construct_callable(@nospecialize(func::Type))
106
106
# Don't support type annotations otherwise, we don't want to give wrong answers
107
107
# for callables such as `(::Returns{Int})(args...)` where using `Returns{Int}`
108
108
# would give us code for the constructor, not for the callable object.
109
- throw (ArgumentError (" If a function type is explicitly provided, it must be a singleton whose only instance is the callable object" ))
109
+ throw (ArgumentError (" If a function type is explicitly provided, it must be a singleton whose only instance is the callable object.
110
+ To alleviate this restriction, the reflection macro may use `use_signature_tuple = true` from `gen_call_with_extracted_types`." ))
110
111
end
111
112
112
113
function separate_kwargs (exs:: Vector{Any} )
You can’t perform that action at this time.
0 commit comments