Change precedence for in and notin to match + - | ~

This commit is contained in:
gingerBill
2019-10-06 18:14:02 +01:00
parent 4e8a801b35
commit d62503d031
3 changed files with 12 additions and 19 deletions
+1 -9
View File
@@ -1190,15 +1190,7 @@ where_clauses :: proc() {
}
main :: proc() {
x := "foobarbaz";
i : int;
i = strings.last_index(x, "foo"); fmt.println(i);
i = strings.last_index(x, "bar"); fmt.println(i);
i = strings.last_index(x, "baz"); fmt.println(i);
i = strings.last_index(x, "asd"); fmt.println(i);
i = strings.last_index(x, "a"); fmt.println(i);
i = strings.last_index(x, "ba"); fmt.println(i);
when false {
when true {
general_stuff();
union_type();
parametric_polymorphism();