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

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

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



From: Lloyd Fournier <lloyd.fourn [...] gmail.com>
Subject: is traits don't work with parameterized types
To: "rakudobug [...] perl.org" <rakudobug [...] perl.org>
Date: Wed, 22 Jun 2016 12:05:09 +0000
Download (untitled) / with headers
text/plain 199b
my @a is Array[Int]; # Can't use unknown trait 'is ' in a variable declaration.
class Foo is Array[Int] { } # Cannot resolve caller trait_mod:<is>(Foo, Array, Array); none of these signatures match:


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