diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-05-11 10:11:08 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-11 10:11:08 +0200 |
commit | b92fd30282f5063117ae4616aba366f5f445ed8e (patch) | |
tree | 6b4ac1523c4247a22c9900bf8c5a7166d91f9335 /compiler/vmgen.nim | |
parent | f03391d4775bffb3f51c9be47baf04f8b49e2900 (diff) | |
download | Nim-b92fd30282f5063117ae4616aba366f5f445ed8e.tar.gz |
rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)
Diffstat (limited to 'compiler/vmgen.nim')
-rw-r--r-- | compiler/vmgen.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 9d9260563..890f28065 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -1378,7 +1378,7 @@ proc genMarshalStore(c: PCtx, n: PNode, dest: var TDest) = const atomicTypes = {tyBool, tyChar, - tyExpr, tyStmt, tyTypeDesc, tyStatic, + tyUntyped, tyTyped, tyTypeDesc, tyStatic, tyEnum, tyOrdinal, tyRange, @@ -1766,8 +1766,8 @@ proc getNullValue(typ: PType, info: TLineInfo; conf: ConfigRef): PNode = of tyCString, tyString: result = newNodeIT(nkStrLit, info, t) result.strVal = "" - of tyVar, tyLent, tyPointer, tyPtr, tyExpr, - tyStmt, tyTypeDesc, tyRef, tyNil: + of tyVar, tyLent, tyPointer, tyPtr, tyUntyped, + tyTyped, tyTypeDesc, tyRef, tyNil: result = newNodeIT(nkNilLit, info, t) of tyProc: if t.callConv != ccClosure: |