mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
compiler/ast.nim: fix a typo (#23340)
constains -> constrains --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
This commit is contained in:
@@ -553,7 +553,7 @@ type
|
||||
tfIterator, # type is really an iterator, not a tyProc
|
||||
tfPartial, # type is declared as 'partial'
|
||||
tfNotNil, # type cannot be 'nil'
|
||||
tfRequiresInit, # type constains a "not nil" constraint somewhere or
|
||||
tfRequiresInit, # type contains a "not nil" constraint somewhere or
|
||||
# a `requiresInit` field, so the default zero init
|
||||
# is not appropriate
|
||||
tfNeedsFullInit, # object type marked with {.requiresInit.}
|
||||
|
||||
Reference in New Issue
Block a user