From cffae3a5e4550ce4fe4e2c3ac6469550a052ca3e Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Mon, 8 Nov 2021 17:04:18 +0100 Subject: Fix generic error where '0' was inferred as boolean rather than integer. --- src/common/ast.odin | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common') diff --git a/src/common/ast.odin b/src/common/ast.odin index 21d6665..3f857cf 100644 --- a/src/common/ast.odin +++ b/src/common/ast.odin @@ -17,6 +17,8 @@ keyword_map: map[string]bool = { "f64" = true, "i64" = true, "i32" = true, + "i16" = true, + "u16" = true, "bool" = true, "rawptr" = true, "any" = true, -- cgit v1.2.3