# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #131120]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131120 >


Some methods don't seem to get autothreaded correctly. Str does have .Numeric, 
but when junctioned, it doesn't seem to be reachable:


    $ perl6 -e 'say any("42",42).Int'
    any(42, 42)
    
    $ perl6 -e 'say any("42",42).Numeric'
    Cannot resolve caller Numeric(Str: ); none of these signatures match:
        (Mu:U \v: *%_)
    in block <unit> at -e line 1

    $ perl6 -e 'say any("42",42).Real'
    Cannot resolve caller Real(Str: ); none of these signatures match:
        (Mu:U \v: *%_)
    in block <unit> at -e line 1

    $ perl6 -e 'say "42".Numeric'
    42
    
    $ perl6 -e 'say "42".Real'
    42

    $ perl6 -v
    This is Rakudo version 2017.03-153-gb1e7a01 built on MoarVM version 
2017.03-87-g5d73bf4
    implementing Perl 6.c.

Reply via email to