Skip to content

Commit 102c740

Browse files
committed
Recommend =:= Nil rather than ===
1 parent d4cc5ab commit 102c740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STD.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3831,7 +3831,7 @@ grammar P6 is STD {
38313831
my $true = $litbool ~~ /True|Match/;
38323832
my $suggest =
38333833
$true ?? ':so or *.so or ?*' !!
3834-
$litbool ~~ /Nil/ ?? '* === Nil or :!defined' !!
3834+
$litbool ~~ /Nil/ ?? '* =:= Nil or :!defined' !!
38353835
':!so or *.not or !*';
38363836
self.worry("Smartmatch against $litbool always " ~
38373837
($true ?? 'matches' !! 'fails') ~

0 commit comments

Comments
 (0)