tyOrdinal now means "integral types". tyTypeClass created to take care of type constraints

This commit is contained in:
Zahary Karadjov 2012-03-22 16:24:12 +02:00
commit 296ef07955
7 changed files with 43 additions and 30 deletions

View file

@ -259,7 +259,7 @@ type
tyGenericParam, # ``a`` in the above patterns
tyDistinct,
tyEnum,
tyOrdinal, # misnamed: should become 'tyConstraint'
tyOrdinal, # integer types (including enums and boolean)
tyArray,
tyObject,
tyTuple,
@ -278,6 +278,7 @@ type
tyConst, tyMutable, tyVarargs,
tyIter, # unused
tyProxy # currently unused
tyTypeClass,
const
tyPureObject* = tyTuple