develooper Front page | perl.perl6.compiler | Postings from December 2011

[perl #106932] Junctions in subsignatures can cause infinite recursion

From:
Stefan O'Rear
Date:
December 24, 2011 11:26
Subject:
[perl #106932] Junctions in subsignatures can cause infinite recursion
Message ID:
rt-3.6.HEAD-14510-1324703560-1843.106932-82-0@perl.org
# New Ticket Created by  Stefan O'Rear 
# Please include the string:  [perl #106932]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=106932 >


21:09 < sorear> rakudo: sub foo(Mu $x [ $y ]) { }; foo([ any(1,2,3) ])
21:09 <+p6eval> rakudo eb6c4b: OUTPUT«(timeout)maximum recursion depth 
                exceeded␤»

There's no direct junction, so AUTOTHREAD makes no progress when called.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About