On Thu, 01 Dec 2016 15:11:31 -0800, alex.jakime...@gmail.com 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 an array of Ints and returns a Str; it's trying to use Nil in a 
numeric context to get a number to work with.

ords takes a Str and returns an array of ints - it's trying to use Nil in a 
string context to get character to work with.

Seems fine. Rejecting ticket.

-- 
Will "Coke" Coleda

Reply via email to