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 doing .WHAT on a built-in infix op in Rakudo #1098

Closed
p6rt opened this issue Jun 24, 2009 · 8 comments
Closed

Null PMC access when doing .WHAT on a built-in infix op in Rakudo #1098

p6rt opened this issue Jun 24, 2009 · 8 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 24, 2009

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

Searchable as RT66928$

@p6rt
Copy link
Author

p6rt commented Jun 24, 2009

From @masak

<moritz_> rakudo​: say &infix​:<+>.WHAT
<p6eval> rakudo 0e0671​: OUTPUT«Null PMC access in find_method() [...]
<sbp> credit​: Björn Höhrmann
* masak submits another rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

From @pmichaud

Now fixed in ee1fd13​:

  $ ./perl6
  > say &infix​:<+>.WHAT
  Multi()

Assigning to moritz++ for spectest coverage, if needed.

Pm

1 similar comment
@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

From @pmichaud

Now fixed in ee1fd13​:

  $ ./perl6
  > say &infix​:<+>.WHAT
  Multi()

Assigning to moritz++ for spectest coverage, if needed.

Pm

@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

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

@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

From @kyleha

I've written a test for this in S12-methods/what.t in r27345.

# RT #​66928
{
  lives_ok { &infix​:<+>.WHAT }, 'Can .WHAT built-in infix op';
  isa_ok &infix​:<+>.WHAT, Multi, '.WHAT of built-in infix op is Multi';
}

Kyle

On Tue, Jun 30, 2009 at 8​:20 PM, Patrick R. Michaud via
RT<bugs-comment@​netlabs.develooper.com> wrote​:

Now fixed in ee1fd13​:

 $ ./perl6
 > say &infix​:<+>.WHAT
 Multi()

Assigning to moritz++ for spectest coverage, if needed.

Pm

@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

From @pmichaud

On Tue Jun 30 18​:47​:59 2009, KyleHa wrote​:

I've written a test for this in S12-methods/what.t in r27345.

Thanks! Closing ticket!

Pm

@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

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

@p6rt p6rt closed this as completed Jul 1, 2009
@p6rt
Copy link
Author

p6rt commented Jul 1, 2009

From @kyleha

Fixed in r27349, thanks!

Kyle.

On Wed, Jul 1, 2009 at 3​:34 AM, Jonathan Worthington<jonathan@​jnthn.net> wrote​:

Kyle Hasselbacher wrote​:

I've written a test for this in S12-methods/what.t in r27345.

# RT #​66928
{
   lives_ok { &infix​:<+>.WHAT }, 'Can .WHAT built-in infix op';
   isa_ok &infix​:<+>.WHAT, Multi, '.WHAT of built-in infix op is Multi';
}

Second one probably wants to be​:

ok &infix​:<+>.WHAT ~~ Multi, '.WHAT of built-in infix op is Multi';

As implementations are not obligated to have a Multi isa-type but may have a
Multi role mixed in or some such...

Jonathan

@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