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

mysterious subset failures #3661

Closed
p6rt opened this issue Jan 29, 2015 · 5 comments
Closed

mysterious subset failures #3661

p6rt opened this issue Jan 29, 2015 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 29, 2015

Migrated from rt.perl.org#123700 (status was 'resolved')

Searchable as RT123700$

@p6rt
Copy link
Author

p6rt commented Jan 29, 2015

From @raydiak

Noticed during an IRC discussion, the real weirdness starts at
http://irclog.perlgeek.de/perl6/2015-01-29#i_10028280 and goes to 22​:00 .

Another clue​:

perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1;'
«1»

perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1; say $foo;'
«Obsolete»
«1»
1

perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1; say "$foo";'
«1»
1

Also, anything precompiled with a subset constraint seems to segfault when
assigned to (subset Foo; my Foo $foo = 42;). I'll file that as a separate bug if
fixing this one doesn't resolve that issue as well.

This is perl6 version 2015.01-27-gfc5f2d8 built on MoarVM version 2015.01-5-ga29eaa9
Linux 3.16.0-28-generic #​38-Ubuntu SMP Sat Dec 13 16​:13​:28 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

@p6rt
Copy link
Author

p6rt commented Oct 23, 2015

From @usev6

On Thu Jan 29 14​:47​:58 2015, raydiak@​cyberuniverses.com wrote​:

Noticed during an IRC discussion, the real weirdness starts at
http://irclog.perlgeek.de/perl6/2015-01-29#i_10028280 and goes to
22​:00 .

Another clue​:

perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1;'
«1»

perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1; say
$foo;'
«Obsolete»
«1»
1

perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1; say
"$foo";'
«1»
1

This looks good now​:

$ perl6 -e 'subset Foo where {say "«$_.perl()»"}; my Foo $foo = 1; say $foo'
«1»
1

I added two tests (evaluations for the irclog above) to S12-subset/subtypes.t with commit Raku/roast@6082102ca7.

Also, anything precompiled with a subset constraint seems to segfault
when assigned to (subset Foo; my Foo $foo = 42;). I'll file that as a
separate bug if fixing this one doesn't resolve that issue as well.

Did you report the issue with precomp? If so, this ticket can be closed.

Christian

@p6rt
Copy link
Author

p6rt commented Oct 23, 2015

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

@p6rt
Copy link
Author

p6rt commented Oct 20, 2016

From @coke

On Fri Oct 23 13​:29​:12 2015, bartolin@​gmx.de wrote​:

Did you report the issue with precomp? If so, this ticket can be
closed.

Christian

This was 2015; precompilation has undergone a lot of changes since then. If you are still experiencing issues, please open a new ticket.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 20, 2016

@coke - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Oct 20, 2016
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant