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
This error message is particularly confusing for beginners, who may forget or simply not know to put static. Getting compiler noise makes it impossible to determine what the actual issue is with the code.
Error
fatal.nim(53) sysFatal
Error: unhandled exception: int128.nim(72, 11) `arg.sdata(2) == 0` out of range [AssertionDefect]
Expected Output
test.nim(4) test
Error: unhandled exception: Please put static thank you. [AssertionDefect]
This is an internal assertion failure, which shouldn't occur in the first place, there should be a normal Nim error message instead. So changing the assertion message wouldn't fix the actual issue.
This error message is particularly confusing for beginners, who may forget or simply not know to put
static
. Getting compiler noise makes it impossible to determine what the actual issue is with the code.Error
Expected Output
Sample Bad Code
Version
The text was updated successfully, but these errors were encountered: