Skip Menu |
Report information
Id: 132169
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: Using ::Foo type capture as default causes inconsistent bind result
Download (untitled) / with headers
text/plain 671b
IRC: 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} };^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} };^roles.say 19:04 camelia rakudo-moar 6ec21c: OUTPUT: «((Irrational) (Real) (Numeric))␤»

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at