diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-11-08 17:04:18 +0100 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-11-08 17:04:18 +0100 |
| commit | cffae3a5e4550ce4fe4e2c3ac6469550a052ca3e (patch) | |
| tree | 780c395982be688c3710ca173a93fdb7308a57be /src/common | |
| parent | f574d42ac0e8dffc63fd50b87b338dcac46f11e8 (diff) | |
Fix generic error where '0' was inferred as boolean rather than integer.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/ast.odin | 2 |
1 files changed, 2 insertions, 0 deletions
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, |