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
:U means "type object", not "undefined" in Rakudo #2858
Comments
From @masak<masak> :T allows only type objects, not just any undefined thing. |
From @ShimmerFairyThis is actually according to spec. The :U and :D smileys check on objects via .DEFINITE, not .defined. So the behavior presented is as it should be. Additionally, the :T smiley was never implemented in rakudo, and :U/:D have come to distinguish type objects from object instances. The only theoretical difference between :T and :U as spec'd is not applicable anymore. (:U was supposed to let Failure objects through where :T didn't, but in today's Perl 6 Failure objects are never accepted by type constraints any differently than all other types.) So the :T smiley has been removed from the spec. For both reasons, this ticket should be rejected. |
The RT System itself - Status changed from 'new' to 'open' |
From @labster
Wish granted. Rejecting ticket. On Fri Aug 14 00:03:08 2015, lue wrote:
|
1 similar comment
From @labster
Wish granted. Rejecting ticket. On Fri Aug 14 00:03:08 2015, lue wrote:
|
@labster - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#114442 (status was 'rejected')
Searchable as RT114442$
The text was updated successfully, but these errors were encountered: