Merge remote-tracking branch 'origin/concepts-rebased' into araq
This commit is contained in:
commit
529609f7ed
47 changed files with 2038 additions and 345 deletions
|
|
@ -167,6 +167,8 @@ proc mapType(typ: PType): TJSTypeKind =
|
|||
tyNone, tyFromExpr, tyForward, tyEmpty, tyFieldAccessor,
|
||||
tyExpr, tyStmt, tyTypeDesc, tyTypeClasses, tyVoid, tyAlias:
|
||||
result = etyNone
|
||||
of tyInferred:
|
||||
result = mapType(typ.lastSon)
|
||||
of tyStatic:
|
||||
if t.n != nil: result = mapType(lastSon t)
|
||||
else: result = etyNone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue