| 1 | vlib/v/parser/tests/deprecated_after_without_deprecated.vv:1:1: warning: @[deprecated_after] is only valid, in the presence of a `@[deprecated]` attribute |
| 2 | 1 | @[deprecated_after: '2025-10-10'] |
| 3 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 4 | 2 | fn my_fn() { |
| 5 | 3 | } |
| 6 | vlib/v/parser/tests/deprecated_after_without_deprecated.vv:5:1: warning: @[deprecated_after] is only valid, in the presence of a `@[deprecated]` attribute |
| 7 | 3 | } |
| 8 | 4 | |
| 9 | 5 | @[deprecated_after: '2025-10-10'] |
| 10 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 11 | 6 | const my_const = 123 |
| 12 | 7 | |
| 13 | vlib/v/parser/tests/deprecated_after_without_deprecated.vv:8:1: warning: @[deprecated_after] is only valid, in the presence of a `@[deprecated]` attribute |
| 14 | 6 | const my_const = 123 |
| 15 | 7 | |
| 16 | 8 | @[deprecated_after: '2025-10-10'] |
| 17 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 | 9 | type MyType = u8 |
| 19 | 10 | |
| 20 | vlib/v/parser/tests/deprecated_after_without_deprecated.vv:11:1: warning: @[deprecated_after] is only valid, in the presence of a `@[deprecated]` attribute |
| 21 | 9 | type MyType = u8 |
| 22 | 10 | |
| 23 | 11 | @[deprecated_after: '2025-10-10'] |
| 24 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 25 | 12 | interface MyInterface { |
| 26 | 13 | x int |
| 27 | |