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

Owner: Nobody
Requestors: zefram [at]

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

Date: Thu, 9 Mar 2017 19:29:47 +0000
To: rakudobug [...]
Subject: [BUG] confused by Nil
From: Zefram <zefram [...]>
Download (untitled) / with headers
text/plain 365b
The Range class allows almost anything to be used as an endpoint, including most type objects. But Nil confuses it: Show quoted text
>, List).min
(Any) Show quoted text
> (Nil..List).min
(Any) Show quoted text
>, Nil)
List..Any Nil is being changed into Any. If type objects are to be generally permitted as Range endpoints, then Nil should work the same way as the others. -zefram

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