Fix for empty nums
This commit is contained in:
parent
be69dba58e
commit
f4020db2f0
@ -2507,7 +2507,7 @@ CORD compile_empty(type_t *t)
|
||||
return empty_pointed == CORD_EMPTY ? CORD_EMPTY : CORD_all(ptr->is_stack ? "stack(" : "heap(", empty_pointed, ")");
|
||||
}
|
||||
case NumType: {
|
||||
return Match(t, NumType)->bits == TYPE_NBITS32 ? "Num32(0.0f)" : "Num64(0.0)" ;
|
||||
return Match(t, NumType)->bits == TYPE_NBITS32 ? "N32(0.0f)" : "N64(0.0)" ;
|
||||
}
|
||||
case StructType: {
|
||||
auto struct_ = Match(t, StructType);
|
||||
|
Loading…
Reference in New Issue
Block a user