mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-17 17:49:45 +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) {
|
||||
type = default_type(type);
|
||||
if (type == t_llvm_bool) {
|
||||
type = t_bool;
|
||||
}
|
||||
|
||||
isize entry_index = -1;
|
||||
HashKey key = hash_type(type);
|
||||
|
||||
Reference in New Issue
Block a user