You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vlib/v/checker/tests/deprecate_any.vv:1:8: notice: the `any` type is deprecated and will be removed soon - either use an empty interface, or a sum type
2
+
1 | fn foo(a any) {}
3
+
| ^
4
+
2 |
5
+
3 | fn main() {
6
+
vlib/v/checker/tests/deprecate_any.vv:5:7: notice: the `any` type is deprecated and will be removed soon - either use an empty interface, or a sum type
7
+
3 | fn main() {
8
+
4 | _ := []any{}
9
+
5 | _ := map[int]any{}
10
+
| ~~~~~~~~~~~~~
11
+
6 | _ := map[any]int{}
12
+
7 | }
13
+
vlib/v/checker/tests/deprecate_any.vv:6:7: notice: the `any` type is deprecated and will be removed soon - either use an empty interface, or a sum type
14
+
4 | _ := []any{}
15
+
5 | _ := map[int]any{}
16
+
6 | _ := map[any]int{}
17
+
| ~~~~~~~~~~~~~
18
+
7 | }
19
+
vlib/v/checker/tests/deprecate_any.vv:4:7: error: cannot use type `any` here
20
+
2 |
21
+
3 | fn main() {
22
+
4 | _ := []any{}
23
+
| ~~~~~~
24
+
5 | _ := map[int]any{}
25
+
6 | _ := map[any]int{}
26
+
vlib/v/checker/tests/deprecate_any.vv:5:7: error: cannot use type `any` here
27
+
3 | fn main() {
28
+
4 | _ := []any{}
29
+
5 | _ := map[int]any{}
30
+
| ~~~~~~~~~~~~~
31
+
6 | _ := map[any]int{}
32
+
7 | }
33
+
vlib/v/checker/tests/deprecate_any.vv:6:7: error: cannot use type `any` here
0 commit comments