diff --git a/vlib/v/checker/tests/struct_field_with_any_type_err.out b/vlib/v/checker/tests/struct_field_with_any_type_err.out index 067cc7342a..8be74160ff 100644 --- a/vlib/v/checker/tests/struct_field_with_any_type_err.out +++ b/vlib/v/checker/tests/struct_field_with_any_type_err.out @@ -1,4 +1,4 @@ -vlib/v/checker/tests/struct_field_with_any_type_err.vv:2:6: error: cannot use `any` type here, `any` will be implemented in V 0.4 +vlib/v/checker/tests/struct_field_with_any_type_err.vv:2:6: error: cannot use `any` type here 1 | struct My_type { 2 | fld any | ~~~ diff --git a/vlib/v/parser/parse_type.v b/vlib/v/parser/parse_type.v index b1a1f4cb23..305817e6a3 100644 --- a/vlib/v/parser/parse_type.v +++ b/vlib/v/parser/parse_type.v @@ -649,7 +649,7 @@ fn (mut p Parser) parse_any_type(language ast.Language, is_ptr bool, check_dot b } 'any' { if p.file_backend_mode != .js && p.mod != 'builtin' { - p.error('cannot use `any` type here, `any` will be implemented in V 0.4') + p.error('cannot use `any` type here') } ret = ast.any_type } diff --git a/vlib/v/parser/tests/cast_to_any_type_err.out b/vlib/v/parser/tests/cast_to_any_type_err.out index 15de454e22..59371a24a9 100644 --- a/vlib/v/parser/tests/cast_to_any_type_err.out +++ b/vlib/v/parser/tests/cast_to_any_type_err.out @@ -1,4 +1,4 @@ -vlib/v/parser/tests/cast_to_any_type_err.vv:2:7: error: cannot use `any` type here, `any` will be implemented in V 0.4 +vlib/v/parser/tests/cast_to_any_type_err.vv:2:7: error: cannot use `any` type here 1 | fn main() { 2 | a := any(22) | ~~~