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

Owner: Nobody
Requestors: scolinet [at] gmail.com
Cc:
AdminCc:

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



From: "Sylvain \"Skarsnik\" Colinet" <scolinet [...] gmail.com>
Subject: [LTA] Not really good error with wrong class creation by passing a pair to a named arg to new
To: rakudobug [...] perl.org
Date: Wed, 30 Aug 2017 19:17:33 +0200
Download (untitled) / with headers
text/plain 286b

<Skarsnik> m: class A {;}; my A $a .= new(:name:<foo>); # lta error ?
<camelia> rakudo-moar 3e1382: OUTPUT: «===SORRY!===␤This type (QAST::WVal) does not support positional operations␤»
--
Sylvain "Skarsnik" Colinet

Victory was near but the power of the ring couldn't be undone


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org