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

Make yapsi work #4

Merged
merged 5 commits into from Nov 9, 2015
Merged

Make yapsi work #4

merged 5 commits into from Nov 9, 2015

Conversation

ghost
Copy link

@ghost ghost commented Nov 8, 2015

No description provided.

@@ -185,7 +186,7 @@ class Yapsi::Perl6::Actions {
my $block = @blockstack.pop;
my $name = $block.name;
$block.vars = @vars.list;
$block.children.push($<statementlist><statement>».ast.grep(*.defined));
$block.children.push: | $<statementlist><statement>».ast.grep(*.defined);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more idiomatic change would be to switch from push to append here, instead of creating a Slip

masak pushed a commit that referenced this pull request Nov 9, 2015
@masak masak merged commit a8617b6 into masak:master Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants