Skip to content

Commit

Permalink
RakuAST: remove dead code from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 10, 2023
1 parent 3e652d5 commit 8938e55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Raku/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -2530,11 +2530,9 @@ class Raku::Actions is HLL::Actions does Raku::CommonActions {
method type-for-name($/, $base-name) {
my $type := Nodify('Type', 'Simple').new($base-name.without-colonpair('_'));
if $base-name.has-colonpair('D') {
$type := Nodify('Type', 'Simple').new($base-name.without-colonpair('D'));
$type := Nodify('Type', 'Definedness').new(:base-type($type), :definite);
}
elsif $base-name.has-colonpair('U') {
$type := Nodify('Type', 'Simple').new($base-name.without-colonpair('U'));
$type := Nodify('Type', 'Definedness').new(:base-type($type), :!definite);
}
if $<arglist> {
Expand Down

0 comments on commit 8938e55

Please sign in to comment.