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

Null PMC access with is DEPRECATED #3302

Closed
p6rt opened this issue Dec 31, 2013 · 6 comments
Closed

Null PMC access with is DEPRECATED #3302

p6rt opened this issue Dec 31, 2013 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 31, 2013

Migrated from rt.perl.org#120908 (status was 'rejected')

Searchable as RT120908$

@p6rt
Copy link
Author

p6rt commented Dec 31, 2013

From dvj@dagur.com

22​:31 < dagurval> rp​: sub a is DEPRECATED((sub { })()) { };
22​:31 <+camelia> rakudo-parrot a77214​: OUTPUT«===SORRY!===␤Null PMC access
in get_bool()␤»
22​:31 < dagurval> found a Null PMC access \o/
22​:32 < masak> dagurval++ # \o/
22​:32 < masak> dagurval​: submit it!

rakudo-j does not crash, although it doesn't like it when the sub is called.

22​:34 <dagurval> rj​: sub a is DEPRECATED((sub { })()) { }; a()
22​:34 <camelia> rakudo-jvm a77214​: OUTPUT«Cannot look up attributes in a
type object␤ in sub infix​:<<> at gen/jvm/CORE.setting​:4180␤ in sub
postcircumfix​:<[ ]> at gen/jvm/CORE.setting​:2337␤ in sub
  DEPRECATED at gen/jvm/CORE.setting​:16859␤ in block at
gen/jvm/CORE.setting​:128␤ in sub…»

@p6rt
Copy link
Author

p6rt commented Nov 18, 2014

From @usev6

As a status update​: There is still a Null PMC access with Parrot. With Moar and JVM everything seems fine​:

$ perl6-p -e 'sub a is DEPRECATED((sub { "a" })()) { }; a();'
===SORRY!===
Null PMC access in get_bool()

$ perl6-j -e 'sub a is DEPRECATED((sub { "a" })()) { }; a();' ## identical output with perl6-m
Saw 1 call to deprecated code during execution.

Sub a (from GLOBAL) called at​:
  -e, line 1
Please use a instead.


Please contact the author to have these calls to deprecated code adapted,
so that this message will disappear!

1 similar comment
@p6rt
Copy link
Author

p6rt commented Nov 18, 2014

From @usev6

As a status update​: There is still a Null PMC access with Parrot. With Moar and JVM everything seems fine​:

$ perl6-p -e 'sub a is DEPRECATED((sub { "a" })()) { }; a();'
===SORRY!===
Null PMC access in get_bool()

$ perl6-j -e 'sub a is DEPRECATED((sub { "a" })()) { }; a();' ## identical output with perl6-m
Saw 1 call to deprecated code during execution.

Sub a (from GLOBAL) called at​:
  -e, line 1
Please use a instead.


Please contact the author to have these calls to deprecated code adapted,
so that this message will disappear!

@p6rt
Copy link
Author

p6rt commented Nov 18, 2014

@usev6 - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Mar 1, 2015

From @usev6

I added a test to S02-types/isDEPRECATED.t with commit Raku/roast@8022cc3d4c.

The test passes on MoarVM and JVM.

Since support for Parrot was suspended with Rakudo Star Release 2015.02, I'm closing this "parrot only" ticket.

I'll add the ticket to a list of closed ticket living in the mu repository​: https://github.com/perl6/mu/blob/master/misc/rt.perl.org/tickets_closed_parrot_only.txt.

In case support for Parrot will be restored in some future release the listed tickets can be checked and re-opened as appropriate.

@p6rt
Copy link
Author

p6rt commented Mar 1, 2015

@usev6 - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Mar 1, 2015
@p6rt p6rt added the parrot 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