On Sun Aug 29 17:27:23 2010, masak wrote: > masak (>): > > The error message is highly confusing. There's no such thing as > > postcircumfix:<Nil()>. In fact, that looks like an interpolation > gone > > wrong somewhere. The error message should probably have read > > 'postcircumfix:<< < > >> not defined for type Array()' or something. > > <pmichaud> a-ha! > <pmichaud> it's returning a Failure... that's good. > <pmichaud> it's just the error that is lta > <pmichaud> looking > <pmichaud> heh > <pmichaud> fail "postcircumfix:<{ }> not defined for type > {self.WHAT}" > <pmichaud> if self.defined; > <pmichaud> fail FAIL > <pmichaud> the curlies are being interpolated. > <pmichaud> (the first ones) > <colomon> doh! > <masak> :D > <masak> that explains everything. > * masak amends the ticket > <pmichaud> if someone wants to fix it to escape the curlies, that > would be awesome. :-)
Updated behavior looks A enough: 09:17 < [Coke]> rakudo: ~[]<c> 09:17 <+camelia> rakudo b2072f: OUTPUT«postcircumfix:<{ }> not defined for type Array in method Str at src/gen/CORE.setting:10160 in method Str at src/gen/CORE.setting:876 in method Stringy at src/gen/CORE.setting:885 in sub prefix:<~> at src/gen/CORE.setting:1272 in sub prefix:<~> at src/gen/… 09:17 < [Coke]> rakudo: ~5<c> 09:17 <+camelia> rakudo b2072f: OUTPUT«postcircumfix:<{ }> not defined for type Int in method Str at src/gen/CORE.setting:10160 in method Str at src/gen/CORE.setting:876 in method Stringy at src/gen/CORE.setting:885 in sub prefix:<~> at src/gen/CORE.setting:1272 in sub prefix:<~> at src/gen/CO… 09:17 < [Coke]> rakudo: ~5{'c'} 09:17 <+camelia> rakudo b2072f: OUTPUT«postcircumfix:<{ }> not defined for type Int in method Str at src/gen/CORE.setting:10160 in method Str at src/gen/CORE.setting:876 in method Stringy at src/gen/CORE.setting:885 in sub prefix:<~> at src/gen/CORE.setting:1272 in sub prefix:<~> at src/gen/CO… Closable with tests. -- Will "Coke" Coleda