develooper Front page | perl.perl6.compiler | Postings from January 2012

[perl #107638] Circularity detected in multi sub types, but I can't spot it

From:
Moritz Lenz
Date:
January 5, 2012 13:54
Subject:
[perl #107638] Circularity detected in multi sub types, but I can't spot it
Message ID:
rt-3.6.HEAD-14510-1325800491-963.107638-82-0@perl.org
# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #107638]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=107638 >


22:52 < jnthn> nom: multi sub infix:<+>(Str $ where 1, Str $) { }; 'a' + 'a'
22:52 <+p6eval> nom 44556d: OUTPUT«===SORRY!===␤Circularity detected in
multi sub types.␤»

If that multi candidate actually introduced a cycle in the narrowness
graph, there must be a candidate that's narrower than (Str $ where 1,
Str $), but I can't figure out which one that could be -- I guess it's
just a bug somewhere.



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