Fix minor parsing bug with procedure return types

This commit is contained in:
Ginger Bill
2017-07-19 22:17:57 +01:00
parent f1ab17ed4e
commit d233706a2d
3 changed files with 14 additions and 7 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import "fmt.odin";
main :: proc() {
v, ok := fmt.string_to_enum_value(Allocator.Mode, "FreeAll");
if ok do assert(v == Allocator.Mode.FreeAll);
fmt.println("Hellope!");
}