We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from rt.perl.org#127289 (status was 'new')
Searchable as RT127289$
The text was updated successfully, but these errors were encountered:
class C {}; sub outer(::T $c){ sub (T){ dd &?ROUTINE.signature.params[0], T === C, T.new } }; my $inner = outer(C); $inner(C.new);
# OUTPUT«T $Bool::TrueC.new» # expected: # OUTPUT«C $Bool::TrueC.new
# The typecheck on function call does work. It's merely a stringy problem.
$inner(W.new);
# OUTPUT«Type check failed in binding <anon>; # expected C but got W in sub at /tmp/uEPuZVCl2m line 1 in block # <unit> at /tmp/uEPuZVCl2m line 1»
Sorry, something went wrong.
No branches or pull requests
Migrated from rt.perl.org#127289 (status was 'new')
Searchable as RT127289$
The text was updated successfully, but these errors were encountered: