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

module + constant + BEGIN + code = `Expected MAST::Frame, but didn't get one` #1952

zoffixznet opened this Issue Jun 23, 2018 · 0 comments


None yet
1 participant

zoffixznet commented Jun 23, 2018

        $ ./perl6 -I. -MFoo -e ''                                                                                                                                                                                      
        Expected MAST::Frame, but didn't get one
        $ cat Foo.pm6 
        constant @chars = BEGIN { ^0x11000 .map: { %(
            hex => .fmt('%04X'), name  => .uniname,
            chr => .chr,         words => .uniname.words.eager,
        )} }
        $ ./perl6 -I. -MFoo -e ''
        Expected MAST::Frame, but didn't get one
        $ ./perl6 -v
        This is Rakudo version 2018.06-24-gc441d8d8b built on MoarVM version 2018.06-6-g0c04e6cad
        implementing Perl 6.c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment