You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rakudo e61569f has problems parsing class declarations:
$ cat A.pm
class A {
}
$ perl6 --target=parse A.pm
Null PMC access in find_method()
in Main (src/gen_setting.pm:0)
This is kinda strange, because it can produce later stages without a
problem. Probably a PCT bug.
I'm guessing the above fails because --target=prase doesn't make use of
any action methods, and Rakudo's parser really needs the action methods
in order to parse properly. (This will largely change when we become
more STD-like.)
Currently PCT chooses to not send the action grammar along as part of
--parse because it assumes you only want the parse tree (and that parse
tree generation will be independent of action methods). But I can see
places where that might not be the case, so perhaps PCT should always
send the action methods along as well. I'll have to think about it a bit.
Migrated from rt.perl.org#66546 (status was 'resolved')
Searchable as RT66546$
The text was updated successfully, but these errors were encountered: