Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
restore use of 'if' now that Empty.Str is ''
  • Loading branch information
TimToady committed May 9, 2015
1 parent 6c5d82c commit 16ba247
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/Mu.pm
Expand Up @@ -313,9 +313,7 @@ my class Mu { # declared in BOOTSTRAP
~ ' => '
~ $attr.get_value(self).perl
}
@attrs
?? self.^name ~ '.new' ~ '(' ~ @attrs.join(', ') ~ ')'
!! self.^name ~ '.new';
self.^name ~ '.new' ~ ('(' ~ @attrs.join(', ') ~ ')' if @attrs)
}

proto method DUMP(|) { * }
Expand Down

0 comments on commit 16ba247

Please sign in to comment.