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

fix array initial with [0.0/f32/f64; length] compile error

solution: add array_f32/array_f64 type
Signed-off-by: Cytown <cytown@gmail.com>
This commit is contained in:
Cytown 2019-07-04 14:39:40 +08:00 committed by Alexander Medvednikov
parent 6b0e4a1d7b
commit fbe8f6c774

View File

@ -223,6 +223,8 @@ typedef array array_int;
typedef array array_byte; typedef array array_byte;
typedef array array_uint; typedef array array_uint;
typedef array array_float; typedef array array_float;
typedef array array_f32;
typedef array array_f64;
typedef map map_int; typedef map map_int;
typedef map map_string; typedef map map_string;
#ifndef bool #ifndef bool