Skip to content

Commit

Permalink
(:!foo).IMPL-INTERPRET should have a False value
Browse files Browse the repository at this point in the history
It seems like the code for `RakuAST::ColonPair::True.IMPL-INTERPRET()` was copied to `RakuAST::ColonPair::False` but without the proper alteration.
  • Loading branch information
b2gills committed Oct 15, 2020
1 parent a6e035c commit da66583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Raku/ast/pair.rakumod
Expand Up @@ -142,7 +142,7 @@ class RakuAST::ColonPair::False is RakuAST::ColonPair {
method IMPL-INTERPRET(RakuAST::IMPL::InterpContext $ctx) {
my @lookups := self.IMPL-UNWRAP-LIST(self.get-implicit-lookups());
my $pair-type := @lookups[0].resolution.compile-time-value;
$pair-type.new(self.key, True)
$pair-type.new(self.key, False)
}
}

Expand Down

0 comments on commit da66583

Please sign in to comment.