tyOrdinal now means "integral types". tyTypeClass created to take care of type constraints
This commit is contained in:
parent
3a5cf3d63a
commit
296ef07955
7 changed files with 43 additions and 30 deletions
|
|
@ -111,7 +111,7 @@ proc mapType(typ: PType): TEcmasTypeKind =
|
|||
result = etyObject
|
||||
of tyNil: result = etyNull
|
||||
of tyGenericInst, tyGenericParam, tyGenericBody, tyGenericInvokation, tyNone,
|
||||
tyForward, tyEmpty, tyExpr, tyStmt, tyTypeDesc:
|
||||
tyForward, tyEmpty, tyExpr, tyStmt, tyTypeDesc, tyTypeClass:
|
||||
result = etyNone
|
||||
of tyProc: result = etyProc
|
||||
of tyCString: result = etyString
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue