Skip to content
Permalink
Browse files

Expand v6.d removal message

Mention that it is an option to just run the code in v6.c also.
  • Loading branch information...
lizmat committed Nov 1, 2018
1 parent 7a1a186 commit 81474bf9fa14f1f864442d0fd782ce008d62cbb7
Showing with 8 additions and 4 deletions.
  1. +8 −4 src/core.d/operators.pm6
@@ -9,14 +9,18 @@ multi sub undefine(Array \x) is raw { x = Empty }
multi sub undefine(Hash \x) is raw { x = Empty }

sub infix:<<(<+)>> (|) {
die "(<+) was removed in 6.d, please use (<=) operator instead"
die "(<+) was removed in v6.d, please use (<=) operator instead
or compile your code with 'use v6.c'"
}
sub infix:<≼>(|) {
die "≼ was removed in 6.d, please use ⊆ operator instead"
die "≼ was removed in v6.d, please use ⊆ operator instead
or compile your code with 'use v6.c'"
}
sub infix:<<(>+)>> (|) {
die "(>+) was removed in 6.d, please use (>=) operator instead"
die "(>+) was removed in v6.d, please use (>=) operator instead
or compile your code with 'use v6.c'"
}
sub infix:<≽>(|) {
die "≽ was removed in 6.d, please use ⊇ operator instead"
die "≽ was removed in v6.d, please use ⊇ operator instead
or compile your code with 'use v6.c'"
}

0 comments on commit 81474bf

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