aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-01-16 10:00:14 +0000
committergingerBill <bill@gingerbill.org>2020-01-16 10:00:14 +0000
commit159150c6d9a7d421c0d58bd582847104799606d4 (patch)
treef3e3b9b6763feba9ea24b2b5cfe2016927c8f53f /examples
parent527b39ce2b6cd9ef20af7a04c81017af809c2cdb (diff)
Allow not_in as keyword over notin, but still allow notin to work
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin2
-rw-r--r--examples/hms2019/hms2019.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index 935b24286..a6b7e44f5 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -1363,7 +1363,7 @@ bit_set_type :: proc() {
incl(&x, 'F');
assert('F' in x);
excl(&x, 'F');
- assert('F' notin x);
+ assert('F' not_in x);
y |= {1, 4, 2};
assert(2 in y);
diff --git a/examples/hms2019/hms2019.odin b/examples/hms2019/hms2019.odin
index 2c4712631..5c2e836f8 100644
--- a/examples/hms2019/hms2019.odin
+++ b/examples/hms2019/hms2019.odin
@@ -1271,7 +1271,7 @@ bit_set_type :: proc() {
incl(&x, 'F');
assert('F' in x);
excl(&x, 'F');
- assert('F' notin x);
+ assert('F' not_in x);
y |= {1, 4, 2};
assert(2 in y);