ResourceContexts.jl
ResourceContexts.jl copied to clipboard
`@!` doesn't work on functions with return type in signature
For example:
> @! function g() end
g (generic function with 1 method)
> g(
g(var"#context"::ResourceContexts.AbstractContext) in Main at REPL[10]:1
but
> @! function h()::Int end
h (generic function with 1 method)
> h(
h() in Main at REPL[11]:1
True. There's probably several issues of this form — where clauses, etc.