fixes not nil examples (#23080)

This commit is contained in:
ringabout
2023-12-15 21:12:28 +08:00
committed by GitHub
parent 315b59e824
commit 0c3e703960

View File

@@ -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