Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove typo in paramter and cleanup

  • Loading branch information...
commit 21325bb2cda0e5ad5f467df7ff5f059bdeec3c58 1 parent 43445e5
@marcusramberg marcusramberg authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/core/Parameter.pm
View
5 src/core/Parameter.pm
@@ -1,4 +1,4 @@
-My class Parameter {
+my class Parameter {
# XXX constant...
my $SIG_ELEM_BIND_CAPTURE := 1;
my $SIG_ELEM_BIND_PRIVATE_ATTR := 2;
@@ -139,7 +139,6 @@ My class Parameter {
}
$perl = '' if $perl eq any(<Any Callable>);
$perl ~= ' ' if $perl;
-
if $!variable_name {
my $name = $!variable_name;
if $!flags +& $SIG_ELEM_IS_CAPTURE {
@@ -157,7 +156,7 @@ My class Parameter {
$name ~= '!' unless self.optional;
} elsif self.optional && !$default {
$name ~= '?';
- }
+ }
$perl ~= $name;
if $!flags +& $SIG_ELEM_IS_RW {
$perl ~= ' is rw';
Please sign in to comment.
Something went wrong with that request. Please try again.