Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ int hl_module_init( hl_module *m, h_bool hot_reload ) {
}

static bool check_same_type( hl_type *t1, hl_type *t2 ) {
if( hl_same_type(t1,t2) || hl_safe_cast(t1,t2) )
if( hl_safe_cast(t1,t2) )
return true;
if( t1->kind != t2->kind )
return false;
Expand Down