Minor fix to demo

This commit is contained in:
gingerBill
2018-02-17 19:40:33 +00:00
parent e86ac75e9c
commit a0f2357cb3
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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");