New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multimethod calls with subsets as type constraints fail when called the second time #5086
Comments
From rightfold@gmail.comConsider the following code: use v6.c; subset T of List where *[0] eqv 1; class R { R.f([1, 2]); It fails with the following output: 42 However, when the R.f([1, 2]) call is removed, the program succeeds. Thanks to masak++ for helping minimizing the example. Rakudo version:
|
From @masak<ely-se> the interesting thing is that Any:D is a catchall |
The RT System itself - Status changed from 'new' to 'open' |
From @LLFournI just hit this. Another way of getting the example code working is to use v6.c; subset T of List where *[0] eqv 1; class R { R.f([1, 2]); # ^^ works fine |
From @zoffixznetThanks for the report. This has been fixed in rakudo/rakudo@68afa3ff -- |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127367 (status was 'resolved')
Searchable as RT127367$
The text was updated successfully, but these errors were encountered: