Skip to content

Commit

Permalink
Make Parameter.twigil also work on dynamic Parameters
Browse files Browse the repository at this point in the history
Fixes R#2275
  • Loading branch information
lizmat committed Sep 14, 2018
1 parent b07874e commit 39f2d68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/Parameter.pm6
Expand Up @@ -83,7 +83,11 @@ my class Parameter { # declared in BOOTSTRAP
?? '.'
!! nqp::bitand_i($!flags,$SIG_ELEM_BIND_PRIVATE_ATTR)
?? '!'
!! ''
!! nqp::isnull_s($!variable_name)
?? ''
!! nqp::iseq_s(nqp::substr($!variable_name,1,1),"*")
?? '*'
!! ''
}
method modifier() {
nqp::bitand_i($!flags,$SIG_ELEM_DEFINED_ONLY)
Expand Down

0 comments on commit 39f2d68

Please sign in to comment.