JuliaLang / Compat.jl

Compatibility across Julia versions
Other
142 stars 117 forks source link

2-arg @inferred problem #795

Closed alyst closed 1 year ago

alyst commented 1 year ago

I'm trying to use 2-arg @inferred macro from Compat 3.46.1, but I'm getting

ERROR: LoadError: LoadError: LoadError: UndefVarError: _args_and_call not defined

See JuliaStats/Clustering.jl#248.

I guess that's because _args_and_call() is actually defined in Test, not Base.

martinholters commented 1 year ago

Fixed by #796