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


IRC: https://irclog.perlgeek.de/perl6/2017-09-26#i_15219996

I kinda expected the first version to work without trouble:

19:02   Zoffix  m: role Irrational[::NuT = Int, ::DeT = NuT] does Real { method 
new(NuT \nu = 0, DeT \de = 1) {self.bless} }; Irrational.new.^roles.say
19:02   camelia         rakudo-moar 6ec21c: OUTPUT: «Internal error: 
inconsistent bind result␤  in method new at <tmp> line 1␤  in block <unit> at 
<tmp> line 1␤␤»

19:04           m: role Irrational[::NuT = Int, ::DeT = ::("NuT")] does Real { 
method new(NuT \nu = 0, DeT \de = 1) {self.bless} }; Irrational.new.^roles.say
19:04   camelia         rakudo-moar 6ec21c: OUTPUT: «((Irrational) (Real) 
(Numeric))␤»

Reply via email to