Changeset 2316 for cobra/trunk/Source/TypeProxies.cobra
- Timestamp:
- 03/14/10 06:45:43 (2 years ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/TypeProxies.cobra (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/TypeProxies.cobra
r2304 r2316 185 185 if clrType.isArray 186 186 # assert clrType.name.endsWith(r'[]') # could be [,] so TODO: handle multidim arrays 187 return ArrayType(_realTypeWithCache(clrType.getElementType to !))187 return .typeProvider.arrayType(_realTypeWithCache(clrType.getElementType to !)) 188 188 else if clrType.isNested and not clrType.isGenericParameter 189 189 declaringType = _realTypeWithCache(clrType.declaringType to !) … … 462 462 463 463 464 class ArrayTypeIdentifier 465 inherits WrappedTypeIdentifier 464 class ArrayTypeIdentifier inherits WrappedTypeIdentifier 466 465 467 466 cue init(token as IToken, typeId as AbstractTypeIdentifier) … … 472 471 473 472 def _resolveType as IType is override 474 t = ArrayType(_typeId.realType) 475 t.bindInh 476 t.bindInt 477 return t 473 return .typeProvider.arrayType(_typeId.realType) 478 474 479 475



