rename: stmt -> typed and expr -> untyped (#15989)
* stmt -> typed * expr -> untyped * minor
This commit is contained in:
parent
a4d02f591c
commit
4213f7a6c9
3 changed files with 4 additions and 4 deletions
|
|
@ -1804,7 +1804,7 @@ proc isAtom*(n: PNode): bool {.inline.} =
|
|||
result = n.kind >= nkNone and n.kind <= nkNilLit
|
||||
|
||||
proc isEmptyType*(t: PType): bool {.inline.} =
|
||||
## 'void' and 'stmt' types are often equivalent to 'nil' these days:
|
||||
## 'void' and 'typed' types are often equivalent to 'nil' these days:
|
||||
result = t == nil or t.kind in {tyVoid, tyTyped}
|
||||
|
||||
proc makeStmtList*(n: PNode): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue