Skip to content

Commit f8e89ae

Browse files
authored
all: remove any type future implementation reference (#18822)
1 parent c9e8dd5 commit f8e89ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

vlib/v/checker/tests/struct_field_with_any_type_err.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
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
1+
vlib/v/checker/tests/struct_field_with_any_type_err.vv:2:6: error: cannot use `any` type here
22
1 | struct My_type {
33
2 | fld any
44
| ~~~

vlib/v/parser/parse_type.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ fn (mut p Parser) parse_any_type(language ast.Language, is_ptr bool, check_dot b
649649
}
650650
'any' {
651651
if p.file_backend_mode != .js && p.mod != 'builtin' {
652-
p.error('cannot use `any` type here, `any` will be implemented in V 0.4')
652+
p.error('cannot use `any` type here')
653653
}
654654
ret = ast.any_type
655655
}

vlib/v/parser/tests/cast_to_any_type_err.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
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
1+
vlib/v/parser/tests/cast_to_any_type_err.vv:2:7: error: cannot use `any` type here
22
1 | fn main() {
33
2 | a := any(22)
44
| ~~~

0 commit comments

Comments
 (0)