-
-
Notifications
You must be signed in to change notification settings - Fork 798
Open
Description
Context
- Operating System & Odin Version:
Odin: dev-2025-07-nightly:090cac6
OS: Windows 11 Home Basic (version: 24H2), build 26100.4652
CPU: 13th Gen Intel(R) Core(TM) i7-13620H
RAM: 32471 MiB
Backend: LLVM 20.1.0
Expected Behavior
Both warning and error is printed.
Current Behavior
Only the deprecated warning is printed but compilation fails.
Failure Information (for bugs)
Warning: plus_one is deprecated: Please use something else
Steps to Reproduce
package main
@(deprecated = "Please use something else", require_results)
plus_one :: proc(a: int) -> int {
return a + 1
}
main :: proc() {
plus_one(3)
}
Metadata
Metadata
Assignees
Labels
No labels