Skip to content

Commit

Permalink
X::Placeholder::Mainline now inherits from X::Placeholder::Block
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Aug 17, 2012
1 parent 7aeb019 commit 8ca98e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/Exception.pm
Expand Up @@ -376,8 +376,7 @@ my class X::Placeholder::Block does X::Comp {
}
}

my class X::Placeholder::Mainline does X::Comp {
has $.placeholder;
my class X::Placeholder::Mainline is X::Placeholder::Block {
method message() {
"Cannot use placeholder parameter $.placeholder in the mainline"
}
Expand Down

0 comments on commit 8ca98e1

Please sign in to comment.