diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-06-25 01:22:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 10:22:08 +0200 |
commit | 0c56eeda0e3a9a2fd5bb3d9b53f593d6d41fb5d9 (patch) | |
tree | 734200f80df20b114a9e9c2860ddd39a083f509e /compiler | |
parent | 32f335f594d7007fabe4232a63f51137d7fb6cc1 (diff) | |
download | Nim-0c56eeda0e3a9a2fd5bb3d9b53f593d6d41fb5d9.tar.gz |
expr => untyped; stmt => typed (#14804)
* expr => untyped; stmt => typed * changelog + comment
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/vmdeps.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim index 6f90b7918..4ba7b23bf 100644 --- a/compiler/vmdeps.nim +++ b/compiler/vmdeps.nim @@ -93,8 +93,8 @@ proc mapTypeToAstX(cache: IdentCache; t: PType; info: TLineInfo; of tyBool: result = atomicType("bool", mBool) of tyChar: result = atomicType("char", mChar) of tyNil: result = atomicType("nil", mNil) - of tyUntyped: result = atomicType("expr", mExpr) - of tyTyped: result = atomicType("stmt", mStmt) + of tyUntyped: result = atomicType("untyped", mExpr) + of tyTyped: result = atomicType("typed", mStmt) of tyVoid: result = atomicType("void", mVoid) of tyEmpty: result = atomicType("empty", mNone) of tyUncheckedArray: |