spurious UndefVarError
for static parameter matching
#52992
Labels
domain:types and dispatch
Types, subtyping and method dispatch
kind:bug
Indicates an unexpected problem or unintended behavior
Perplexing bug on master (but not on v1.10). EDIT: but see below, the basic bug existed already on v1.6
When I run this code in a fresh REPL session, all lines succeed:
If the order of the calls to
f
is reversed, though, both calls error:Version info:
The text was updated successfully, but these errors were encountered: