mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 15:23:27 +00:00
Give NilAccessError a message (#11706)
(cherry picked from commit b8be1ccb85)
This commit is contained in:
committed by
narimiran
parent
f7b061f597
commit
93b58ebe1b
@@ -17,7 +17,7 @@
|
||||
var se: ref NilAccessError
|
||||
new(se)
|
||||
se.name = "NilAccessError"
|
||||
se.msg = ""
|
||||
se.msg = "Could not access value because it is nil."
|
||||
|
||||
when defined(windows):
|
||||
include "../system/ansi_c"
|
||||
|
||||
Reference in New Issue
Block a user