Skip to content
Permalink
Browse files

Make Parameter.twigil also work on dynamic Parameters

Fixes R#2275
  • Loading branch information...
lizmat committed Sep 14, 2018
1 parent b07874e commit 39f2d68a11412c9947a9f7e676d40a15bec57800
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/Parameter.pm6
@@ -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)

0 comments on commit 39f2d68

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