Skip Menu |
Report information
Id: 125722
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: rob [at] hoelz.ro
Cc:
AdminCc:

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



Subject: use trace + is repr(...) don't mix
See the attached example.
Subject: test.pl
Download test.pl
text/x-perl 58b
use v6; use trace; class MyClass is repr('P6Opaque') {}
To: "Rob Hoelz (via RT)" <perl6-bugs-followup [...] perl.org>
Subject: Re: [perl #125722] use trace + is repr(...) don't mix
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Date: Fri, 31 Jul 2015 10:49:27 +0200
Download (untitled) / with headers
text/plain 714b
Show quoted text
> On 30 Jul 2015, at 05:50, Rob Hoelz (via RT) <perl6-bugs-followup@perl.org> wrote: > > # New Ticket Created by Rob Hoelz > # Please include the string: [perl #125722] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=125722 > > > > See the attached example.use v6; > > use trace; > > class MyClass is repr('P6Opaque') {}
The trait is called P6opaque, not P6Opaque. But in any case, yes: $ 6 use trace; class MyClass is repr("P6opaque") {}' ===SORRY!=== Error while compiling -e is repr(...) trait value must be known at compile time at -e:1 ------> trace; class MyClass is repr("P6opaque")⏏ {} there is a problem. Liz


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