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

vlib: fix missing else{} in match statements

This commit is contained in:
Alexander Medvednikov
2019-12-07 17:13:25 +03:00
parent 2fb7fba856
commit ad6adf327e
15 changed files with 88 additions and 85 deletions

View File

@ -74,7 +74,7 @@ fn jsdecode_f32(root &C.cJSON) f32 {
if isnil(root) {
return f32(0)
}
return f32(root.valuedouble)
return root.valuedouble
}
fn jsdecode_f64(root &C.cJSON) f64 {