From 19aea1f19895b035e8abb424987f48df6bc52c53 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 3 Aug 2016 22:27:24 +0100 Subject: Basic call expression and fix to assignment count checking --- src/checker/type.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/checker/type.cpp') diff --git a/src/checker/type.cpp b/src/checker/type.cpp index e2506b3a2..04eefbcdd 100644 --- a/src/checker/type.cpp +++ b/src/checker/type.cpp @@ -268,6 +268,8 @@ gb_global Type *t_untyped_float = &basic_types[Basic_UntypedFloat]; gb_global Type *t_untyped_pointer = &basic_types[Basic_UntypedPointer]; gb_global Type *t_untyped_string = &basic_types[Basic_UntypedString]; gb_global Type *t_untyped_rune = &basic_types[Basic_UntypedRune]; +gb_global Type *t_byte = &basic_type_aliases[Basic_byte]; +gb_global Type *t_rune = &basic_type_aliases[Basic_rune]; b32 is_type_named(Type *t) { -- cgit v1.2.3