Skip to content
Permalink
Browse files

Only set name if there is a name

Internals test for isnull_s.
  • Loading branch information...
lizmat committed Jan 11, 2019
1 parent e116f3a commit 3b9fd81d1675a4c2dc6be36dd165c9665f5c66f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Parameter.pm6
@@ -222,7 +222,7 @@ my class Parameter { # declared in BOOTSTRAP
$flags +|= $SIG_ELEM_IS_RAW if $is-raw;
$flags +|= $SIG_ELEM_IS_RW if $is-rw;

$!variable_name = $name;
$!variable_name = $name if $name;
$!flags = $flags;
self
}

0 comments on commit 3b9fd81

Please sign in to comment.
You can’t perform that action at this time.