Minor fix to demo
This commit is contained in:
1 parent
e86ac75e9c
commit
a0f2357cb3
2 files changed
+4
-5
No files matched your search
+1
-1
@@ -730,6 +730,7 @@ explicit_procedure_overloading :: proc() {
|
||||
}
|
||||
|
||||
complete_switch :: proc() {
|
||||
fmt.println("# complete_switch");
|
||||
{ // enum
|
||||
Foo :: enum #export {
|
||||
A,
|
||||
@@ -741,7 +742,6 @@ complete_switch :: proc() {
|
||||
b := Foo.B;
|
||||
f := Foo.A;
|
||||
#complete switch f {
|
||||
// case A...C: fmt.println("A...C");
|
||||
case A: fmt.println("A");
|
||||
case B: fmt.println("B");
|
||||
case C: fmt.println("C");
|
||||
|
||||
Reference in new issue
Block a user