On Sat Dec 27 05:33:02 2014, pesc...@gmail.com wrote: > Am Mi 02. Mai 2012, 09:03:34, pawel.pab...@implix.com schrieb: > > 17:54 bbkr: rakudo: :2() > > 17:54 p6eval: rakudo 0059aa: OUTPUT«Nominal type check failed for > > parameter '$str'; expected Str but got Parcel instead in sub unbase > > at src/gen/CORE.setting:4144 in block <anon> at > > /tmp/OzRQ79NLFt:1» > > > > > > IMO it should complaint about missing param, not about bad type > > Rakudo currently throws an X::Numeric::Confused for the example code: > > 13:29 psch m: :2() # RT #112728 > 13:29 camelia rakudo-moar 7ea485: OUTPUT«You have confused > the number with the textual representation "";if you wanted to > render the number in the given base, use $number.base($radix) in > block <unit> at /tmp/na_4apNiYp:1» > > STD on the other hand parses it just fine, which I assume happens > because there's no backend that actually does anything with the parse > result: > > 13:29 psch std: :2() > 13:29 camelia std 76ccee1: OUTPUT«ok 00:00 136m»
Passing tests added to S02-literals/radix.t , resolving ticket. -- Will "Coke" Coleda