mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix Type info bug for 'llvm bool'
This commit is contained in:
@@ -1088,6 +1088,9 @@ void check_remove_expr_info(CheckerInfo *i, AstNode *expr) {
|
|||||||
|
|
||||||
isize type_info_index(CheckerInfo *info, Type *type, bool error_on_failure) {
|
isize type_info_index(CheckerInfo *info, Type *type, bool error_on_failure) {
|
||||||
type = default_type(type);
|
type = default_type(type);
|
||||||
|
if (type == t_llvm_bool) {
|
||||||
|
type = t_bool;
|
||||||
|
}
|
||||||
|
|
||||||
isize entry_index = -1;
|
isize entry_index = -1;
|
||||||
HashKey key = hash_type(type);
|
HashKey key = hash_type(type);
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
/* gb.h - v0.31 - Ginger Bill's C Helper Library - public domain
|
/* gb.h - v0.32 - Ginger Bill's C Helper Library - public domain
|
||||||
- no warranty implied; use at your own risk
|
- no warranty implied; use at your own risk
|
||||||
|
|
||||||
This is a single header file with a bunch of useful stuff
|
This is a single header file with a bunch of useful stuff
|
||||||
@@ -58,6 +58,7 @@ TODOS
|
|||||||
- More date & time functions
|
- More date & time functions
|
||||||
|
|
||||||
VERSION HISTORY
|
VERSION HISTORY
|
||||||
|
0.32 - Minor fixes
|
||||||
0.31 - Add gb_file_remove
|
0.31 - Add gb_file_remove
|
||||||
0.30 - Changes to gbThread (and gbMutex on Windows)
|
0.30 - Changes to gbThread (and gbMutex on Windows)
|
||||||
0.29 - Add extras for gbString
|
0.29 - Add extras for gbString
|
||||||
|
|||||||
Reference in New Issue
Block a user