Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
"inconsistent bind result" when multi-dispatch method proto uses a typed parameter #2582
Using a typed parameter in a routine signature causes Internal error: inconsistent bind result
Steps to Reproduce
To reproduce the bug three files are needed. First, RR.pm6 where the type is declared:
Next, RRE.pm6 where it is re-exported:
And, finally, the actual code where the error happens is (assuming that all three files are located in the same directory):
The bug was introduced in moar 2018.08. Quick check against 2018.06 and 2017.10 displays normal behavior of the script.
The script must output string foo.