[perl #119001] Passing a string that looks like an integer fails to match MAIN(Str)

2015-09-18 Thread Christian Bartolomaeus via RT
I added a test to S06-other/main-usage.t with commit https://github.com/perl6/roast/commit/f5a77ba56d I'm closing this ticket as 'resolved'.

[perl #119001] Passing a string that looks like an integer fails to match MAIN(Str)

2015-09-17 Thread Will Coleda via RT
On Wed Jul 24 01:04:23 2013, r...@hoelz.ro wrote: > If I define a MAIN sub with a Str parameter and pass an integer > argument, the type check fails and MAIN is never called. '10' is > technically a string, so I think it should still pass a string to MAIN. > (Example code attached) This now works

[perl #119001] Passing a string that looks like an integer fails to match MAIN(Str)

2013-07-24 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #119001] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=119001 > If I define a MAIN sub with a Str parameter and pass an integer argument, the type c