On Thu, 01 Dec 2016 15:11:31 -0800, [email protected] wrote: > Code: > Nil.chrs > > Result: > Use of Nil in numeric context > in block <unit> at -e line 1 > > > At the same time: > > Code: > Nil.ords > > Result: > Use of Nil in string context > in block <unit> at -e line 1 > > > I think that both should say that it is in string context.
.chrs takes a list of numbers. The Nil is used in numeric context, resulting in a 0, which after being .chr'ed results in a null string: m: quietly say Nil.chrs eq "\x[0]"; # True rakudo-moar abc643: OUTPUT«True» The warning is accurate.
