Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add rw

  • Loading branch information...
commit 0161134c63560bbfd89b49198e10c917ce3e845e 1 parent 1646ef9
@ingydotnet authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/TestML/Parser.pm
View
6 lib/TestML/Parser.pm
@@ -11,8 +11,8 @@ method parse($testml) {
my $actions = TestML::Parser::Actions.new();
TestML::Parser::Grammar.parse(
$testml,
- :rule('document'),
:actions($actions),
+ :rule('document'),
) or die "Parse TestML failed";
return $actions.document;
}
@@ -38,8 +38,8 @@ class TestML::Parser::Actions;
has $.document = TestML::Document.new;
has $.data;
-has $.statement;
-has $.transform_arguments;
+has $.statement is rw;
+has $.transform_arguments is rw;
has @.expression_stack = ();
Please sign in to comment.
Something went wrong with that request. Please try again.