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

Guts spilled: Cannot find method 'rxtype' on object of type QAST::Op #5660

Closed
p6rt opened this issue Sep 11, 2016 · 4 comments
Closed

Guts spilled: Cannot find method 'rxtype' on object of type QAST::Op #5660

p6rt opened this issue Sep 11, 2016 · 4 comments
Labels
regex Regular expressions, pattern matching, user-defined grammars, tokens and rules

Comments

@p6rt
Copy link

p6rt commented Sep 11, 2016

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

Searchable as RT129249$

@p6rt
Copy link
Author

p6rt commented Sep 11, 2016

From @zoffixznet

<Zoffix> m​: my %what = foo => 42, bar => 43; say 'foo3bar4' ~~ /$<cat>=@​(%what.keys) 4/;
<camelia> rakudo-moar 376b5f​: OUTPUT«===SORRY!===␤Cannot find method 'rxtype' on object of type QAST​::Op␤»

@p6rt
Copy link
Author

p6rt commented Sep 14, 2016

From @jnthn

On Sun Sep 11 10​:14​:26 2016, cpan@​zoffix.com wrote​:

<Zoffix> m​: my %what = foo => 42, bar => 43; say 'foo3bar4' ~~
/$<cat>=@​(%what.keys) 4/;
<camelia> rakudo-moar 376b5f​: OUTPUT«===SORRY!===␤Cannot find method
'rxtype' on object of type QAST​::Op␤»

Turned out to be a mis-construction of the QAST tree, which in turn made the thingy that builds NFAs out of regexes explode. Fixed that, and added a test in S05-capture/alias.t to cover it.

/jnthn

@p6rt
Copy link
Author

p6rt commented Sep 14, 2016

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

@p6rt
Copy link
Author

p6rt commented Sep 14, 2016

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

@p6rt p6rt closed this as completed Sep 14, 2016
@p6rt p6rt added the regex Regular expressions, pattern matching, user-defined grammars, tokens and rules label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regex Regular expressions, pattern matching, user-defined grammars, tokens and rules
Projects
None yet
Development

No branches or pull requests

1 participant