Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make X::Placeholder::Mainline a subclass of X::Placeholder::Block

it really is just a specialization of the general "block" case
  • Loading branch information...
commit 2f1d76ff86793400d1fa9d5b3e7629e1eafe8bb2 1 parent f95bbea
Moritz Lenz moritz authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 S32-setting-library/Exception.pod
5 S32-setting-library/Exception.pod
View
@@ -18,7 +18,7 @@ Authors of previous versions of this document:
Created: 26 Feb 2009
Last Modified: 17 August 2012
- Version: 14
+ Version: 15
The document is a draft.
@@ -243,8 +243,7 @@ signature (for example C<class A { $^foo }>.
Thrown when a placeholder variable is used in the mainline, ie outside of any
explicit block.
- 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"
}
Please sign in to comment.
Something went wrong with that request. Please try again.