Skip to content

Commit

Permalink
RakuAST: fix concrete values slipping into Parameter's $!type attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Apr 22, 2024
1 parent 34cb94e commit 326dc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Raku/ast/signature.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ class RakuAST::Parameter
}
nqp::bindattr_i($parameter, Parameter, '$!flags', self.IMPL-FLAGS);
my $type := self.IMPL-NOMINAL-TYPE();
nqp::bindattr($parameter, Parameter, '$!type', $type);
nqp::bindattr($parameter, Parameter, '$!type', $type.WHAT); # "Type" could be a concrete value
if $!target {
my $name := $!target.introspection-name;
for self.IMPL-UNWRAP-LIST(self.traits) {
Expand Down

0 comments on commit 326dc12

Please sign in to comment.