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
|
|
@ -1315,7 +1315,7 @@ proc semProcTypeNode(c: PContext, n, genericParams: PNode,
|
|||
"' is only valid for macros and templates")
|
||||
# 'auto' as a return type does not imply a generic:
|
||||
elif r.kind == tyAnything:
|
||||
# 'p(): auto' and 'p(): expr' are equivalent, but the rest of the
|
||||
# 'p(): auto' and 'p(): untyped' are equivalent, but the rest of the
|
||||
# compiler is hardly aware of 'auto':
|
||||
r = newTypeS(tyUntyped, c)
|
||||
elif r.kind == tyStatic:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue