仓颉match case报错
参考:https://txwtech.blog.csdn.net/article/details/140757790
[31merror[0m: non-exhaustive patterns
[36m==>[0m a.cj:7:14:
[36m| [0m
[36m7[0m [36m| [0m match(b){[0m
[36m| [0m [31m^ the selector is of type 'Int64'[0m
[36m| [0m
[36m#[0m [0mnote[0m: _ is not covered
[31merror[0m: cannot assign to immutable value
[36m==>[0m a.cj:8:19:
[36m| [0m
[36m8[0m [36m| [0m case 77=> a = 'a77'[0m
[36m| [0m [31m^^^^^^^^^ [0m
[36m| [0m
[34mnote[0m: variable 'a' is immutable
[36m==>[0m a.cj:5:9:
[36m| [0m
[36m5[0m [36m| [0m let a = 'Hello World!'//不可变量[0m
[36m| [0m [34m^ [0m
[36m| [0m
[31merror[0m: cannot assign to immutable value
[36m==>[0m a.cj:10:19:
[36m| [0m
[36m10[0m [36m| [0m case 78=> a = 'a78'[0m
[36m| [0m [31m^^^^^^^^^ [0m
[36m| [0m
[34mnote[0m: variable 'a' is immutable
[36m==>[0m a.cj:5:9:
[36m| [0m
[36m5[0m [36m| [0m let a = 'Hello World!'//不可变量[0m
[36m| [0m [34m^ [0m
[36m| [0m
3 errors generated, 3 errors printed.