Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move 'is repr' to the predeclaration.
  • Loading branch information
jnthn committed Jul 9, 2015
1 parent eaaaff2 commit ed8270a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/Supply.pm
Expand Up @@ -3,7 +3,7 @@
# turn Supply-like things into something else and convenience forms of calls
# to SupplyOperations.

my class SupplyOperations { ... }
my class SupplyOperations is repr('Uninstantiable') { ... }
my class X::Supply::Combinator is Exception {
has $.combinator;
method message() { "Can only use $!combinator to combine defined Supply objects" }
Expand Down
2 changes: 1 addition & 1 deletion src/core/SupplyOperations.pm
Expand Up @@ -8,7 +8,7 @@ my class X::Supply::Migrate::Needs is Exception {
}
}

my class SupplyOperations is repr('Uninstantiable') {
my class SupplyOperations {

# Private versions of the methods to relay events to subscribers, used in
# implementing various operations.
Expand Down

0 comments on commit ed8270a

Please sign in to comment.