mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 14:32:53 +00:00
fixes not nil examples (#23080)
This commit is contained in:
@@ -566,6 +566,7 @@ All types for which `nil` is a valid value can be annotated with the
|
||||
{.experimental: "notnil".}
|
||||
|
||||
type
|
||||
TObj = object
|
||||
PObject = ref TObj not nil
|
||||
TProc = (proc (x, y: int)) not nil
|
||||
|
||||
|
||||
Reference in New Issue
Block a user