Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use trace + is repr(...) don't mix #4447

Open
p6rt opened this issue Jul 30, 2015 · 4 comments
Open

use trace + is repr(...) don't mix #4447

p6rt opened this issue Jul 30, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 30, 2015

Migrated from rt.perl.org#125722 (status was 'open')

Searchable as RT125722$

@p6rt
Copy link
Author

p6rt commented Jul 30, 2015

From @hoelzro

See the attached example.

@p6rt
Copy link
Author

p6rt commented Jul 30, 2015

From @hoelzro

test.pl

@p6rt
Copy link
Author

p6rt commented Jul 31, 2015

From @lizmat

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-archive.perl.org/perl6/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

@p6rt
Copy link
Author

p6rt commented Jul 31, 2015

The RT System itself - Status changed from 'new' to 'open'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant