This commit is contained in:
Araq 2018-10-28 13:23:27 +01:00
commit f9eec2aa1e
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ proc mapTypeToAstX(cache: IdentCache; t: PType; info: TLineInfo;
of tyEmpty: result = atomicType("empty", mNone)
of tyUncheckedArray:
result = newNodeIT(nkBracketExpr, if t.n.isNil: info else: t.n.info, t)
result.add atomicType("uncheckedArray", mUncheckedArray)
result.add atomicType("UncheckedArray", mUncheckedArray)
result.add mapTypeToAst(t.sons[0], info)
of tyArray:
result = newNodeIT(nkBracketExpr, if t.n.isNil: info else: t.n.info, t)