module level log.fatal is not marked as @[noreturn] #22985
Labels
Bug
This tag is applied to issues which reports bugs.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Unit: vlib
Bugs/feature requests, that are related to the vlib.
Describe the bug
log.fatal
(NOTlog.Log.fatal
!) is not marked as@[noreturn]
Reproduction Steps
Expected Behavior
Successful compilation, panic at runtime
Current Behavior
Possible Solution
Simply add
@[noreturn]
to the functionAdditional Information/Context
No response
V version
V 0.4.8 c1df71a
Environment details (OS name and version, etc.)
V full version: V 0.4.8 c1df71a
OS: macos, macOS, 15.1.1, 24B2091
Processor: 10 cpus, 64bit, little endian, Apple M4
getwd: /Users/leodev/v
vexe: /Users/leodev/v/v
vexe mtime: 2024-11-27 09:17:53
vroot: OK, value: /Users/leodev/v
VMODULES: OK, value: /Users/leodev/.vmodules
VTMP: OK, value: /tmp/v_501
Git version: git version 2.47.0
Git vroot status: c1df71a (22 commit(s) behind V master)
.git/config present: true
CC version: Apple clang version 16.0.0 (clang-1600.0.26.4)
emcc version: N/A
thirdparty/tcc status: thirdparty-macos-arm64 713692d4
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.
Huly®: V_0.6-21426
The text was updated successfully, but these errors were encountered: