mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
Give NilAccessError a message (#11706)
This commit is contained in:
committed by
Andreas Rumpf
parent
ac458448d8
commit
b8be1ccb85
@@ -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