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

v2: allow none & error for functions that return optional - checker

This commit is contained in:
joe-conigliaro
2020-03-02 13:58:36 +11:00
parent d05bdad638
commit b333d02e3b
2 changed files with 5 additions and 4 deletions

View File

@@ -139,8 +139,8 @@ pub const (
f64_type = new_type(f64_type_idx)
char_type = new_type(char_type_idx)
bool_type = new_type(bool_type_idx)
none_type = new_type(none_type_idx)
string_type = new_type(string_type_idx)
array_type = new_type(array_type_idx)
map_type = new_type(map_type_idx)
none_type = new_type(none_type_idx)
)