Implement #complete switch by default, replace with #partial switch #511

This commit is contained in:
gingerBill
2019-12-22 12:03:48 +00:00
parent 4593730632
commit d1c9fd4e01
19 changed files with 263 additions and 227 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ kind_to_string := [len(Kind)]string{
};
precedence :: proc(op: Kind) -> int {
switch op {
#partial switch op {
case Question:
return 1;
case Or: