Implement #complete switch by default, replace with #partial switch #511
This commit is contained in:
1 parent
4593730632
commit
d1c9fd4e01
19 files changed
+263
-227
No files matched your search
@@ -331,7 +331,7 @@ Switch_Stmt :: struct {
|
||||
init: ^Stmt,
|
||||
cond: ^Expr,
|
||||
body: ^Stmt,
|
||||
complete: bool,
|
||||
partial: bool,
|
||||
}
|
||||
|
||||
Type_Switch_Stmt :: struct {
|
||||
@@ -341,7 +341,7 @@ Type_Switch_Stmt :: struct {
|
||||
tag: ^Stmt,
|
||||
expr: ^Expr,
|
||||
body: ^Stmt,
|
||||
complete: bool,
|
||||
partial: bool,
|
||||
}
|
||||
|
||||
Branch_Stmt :: struct {
|
||||
|
||||
Reference in new issue
Block a user