Navigation Menu

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 for assigning values to optional parameter #1971

Closed
p6rt opened this issue Jul 26, 2010 · 5 comments
Closed

Null PMC for assigning values to optional parameter #1971

p6rt opened this issue Jul 26, 2010 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jul 26, 2010

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

Searchable as RT76728$

@p6rt
Copy link
Author

p6rt commented Jul 26, 2010

From @gfldex

$ perl6

sub a(%p1?){ %p1<a> = 1 };a();
Null PMC access in invoke()

--
Nobody knows the age of the human race, but everybody agrees that it is
old enough to know better.
  -- Anonymous

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 1, 2011

From @coke

On Mon Jul 26 05​:51​:17 2010, wenzel.peppmeyer@​gmx.de wrote​:

$ perl6

sub a(%p1?){ %p1<a> = 1 };a();
Null PMC access in invoke()

$ ./perl6 -e 'sub a(%p1?){ %p1<a> = 1 };a(); say "alive"'
alive

Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 20, 2011

From @moritz

now tested in t/spec/S06-signature/optional.t.

@p6rt
Copy link
Author

p6rt commented Oct 20, 2011

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

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

No branches or pull requests

1 participant