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

Owner: Nobody
Requestors: dougljenkins [at]

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

From: Douglas Jenkins <dougljenkins [...]>
To: rakudobug [...]
Date: Sun, 1 Jan 2017 09:06:04 -0800
Subject: [BUG] Type coercion in signature gives warning on optional named arguments
Download (untitled) / with headers
text/plain 283b
I would expect this code to ignore the conversion of $foo if no value is passed for it.

$ perl6 -e 'sub (Int(Cool) :$foo){}()'

Use of uninitialized value of type Cool in numeric context
  in sub  at -e line 1

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