Skip to content
Permalink
Browse files

"Remove" (<+), ≼, (>+), ≽ from 6.d

Well, not really, actually.  But it won't work anymore and it will tell
you what to use instead if you *do* try to use it.
  • Loading branch information...
lizmat committed Oct 31, 2018
1 parent 8561d0a commit 951303f9aaec1f195403f3aa6b5bc5850048c7ea
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/core.d/operators.pm6
@@ -7,3 +7,16 @@ proto sub undefine(Mu, *%) is raw {
multi sub undefine(Mu \x) is raw { x = Nil }
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"
}
sub infix:<≼>(|) {
die "≼ was removed in 6.d, please use ⊆ operator instead"
}
sub infix:<<(>+)>> (|) {
die "(>+) was removed in 6.d, please use (>=) operator instead"
}
sub infix:<≽>(|) {
die "≽ was removed in 6.d, please use ⊇ operator instead"
}

0 comments on commit 951303f

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