1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

table: add i8 to number_type_idxs

This commit is contained in:
joe-conigliaro 2020-03-31 16:17:26 +11:00
parent f58875a202
commit f8169fee48
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1

View File

@ -175,7 +175,7 @@ pub const (
)
pub const (
number_type_idxs = [int_type_idx, byte_type_idx, u16_type_idx, i16_type_idx, i64_type_idx, u32_type_idx, u64_type_idx, f32_type_idx, f64_type_idx]
number_type_idxs = [i8_type_idx, i16_type_idx, int_type_idx, i64_type_idx, byte_type_idx, u16_type_idx, u32_type_idx, u64_type_idx, f32_type_idx, f64_type_idx]
pointer_type_idxs = [voidptr_type_idx, byteptr_type_idx, charptr_type_idx]
)