Fix minor parsing bug with procedure return types

This commit is contained in:
Ginger Bill committed 2017-07-19 22:17:57 +01:00
1 parent f1ab17ed4e
commit d233706a2d
3 files changed
+14 -7

No files matched your search

+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!");
}