Permalink
Browse files

X::Placeholder::Mainline now inherits from X::Placeholder::Block

  • Loading branch information...
1 parent 7aeb019 commit 8ca98e1a7ef90c2c6bd816a58de18ff4f3a5123e @moritz moritz committed Aug 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/Exception.pm
View
@@ -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"
}

0 comments on commit 8ca98e1

Please sign in to comment.