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 when calling "string".new() in Rakudo #1553

Closed
p6rt opened this issue Feb 26, 2010 · 8 comments
Closed

Null PMC access when calling "string".new() in Rakudo #1553

p6rt opened this issue Feb 26, 2010 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Feb 26, 2010

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

Searchable as RT73144$

@p6rt
Copy link
Author

p6rt commented Feb 26, 2010

From @masak

<diakopter> rakudo​: my $a = "string".new(''); # masakbot
<p6eval> rakudo 4fc3af​: OUTPUT«Null PMC access in get_string() [...]
* masak submits rakudobug
<masak> rakudo​: "string".new()
<p6eval> rakudo fad944​: OUTPUT«Null PMC access in get_string() [...]

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

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

@p6rt
Copy link
Author

p6rt commented Aug 3, 2010

From @bbkr

on * build

$ perl6 -e 'my $a = "string".new("");'
Null PMC access in get_repr()
  in main program body at line 1

@p6rt
Copy link
Author

p6rt commented Dec 18, 2010

From @masak

<takadonet1> rakudo​: class A​::B {}; my $class = 'A​::B'; my $x =
$class.new(); say $x.WHAT;
<p6eval> rakudo a95c1d​: OUTPUT<<Null PMC access in get_repr()[NL] [...]
* masak submits rakudobug
<colomon> wait, my $class = 'A​::B'; my $x = $class.new() is the bug?
<masak> no, I submitted the Null PMC access. the Str.new is already in
RT, I think.

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

NOM​: what is the expected behavior of second case?

bbkr​:nom bbkr$ ./perl6 -e 'my $a = "string".new("");'
Default constructor only takes named arguments
  in method new at src/gen/CORE.setting​:494

bbkr​:nom bbkr$ ./perl6 -e 'class A​::B {}; my $class = "A​::B"; my $x =
$class.new(); say $x.WHAT;'
Str()

@p6rt
Copy link
Author

p6rt commented Apr 5, 2012

From @jnthn

On Tue Sep 13 15​:11​:44 2011, bbkr wrote​:

NOM​: what is the expected behavior of second case?

bbkr​:nom bbkr$ ./perl6 -e 'my $a = "string".new("");'
Default constructor only takes named arguments
in method new at src/gen/CORE.setting​:494

bbkr​:nom bbkr$ ./perl6 -e 'class A​::B {}; my $class = "A​::B"; my $x =
$class.new(); say $x.WHAT;'
Str()

Looks sane enough to me. Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jun 5, 2012

From @moritz

Already tested in S02-literals/string-interpolation.t

@p6rt
Copy link
Author

p6rt commented Jun 5, 2012

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

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