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
@jorgeluismireles noticed in #25466 that x.json2.decode() was not giving out a deprecated warning even though it had @[deprecated_after]. I did a little test, see below.
❯ v run test.v
test.v:22:2: warning: function `d1` has been deprecated; use d() instead
20 |
21 | fn main() {
22 | d1()
| ~~~~
23 | d2()
24 | d3()
test.v:24:2: warning: function `d3` has been deprecated since 2025-10-10, it will be an error after 2026-04-08; use d() instead
22 | d1()
23 | d2()
24 | d3()
| ~~~~
25 | }
Describe the bug
@jorgeluismireles noticed in #25466 that
x.json2.decode()was not giving out a deprecated warning even though it had@[deprecated_after]. I did a little test, see below.Reproduction Steps
Expected Behavior
Should give a warning for all 3 functions.
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.12 e5df2d5
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.