Changeset 2313
- Timestamp:
- 03/11/10 10:28:39 (2 years ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/Types.cobra (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/Types.cobra
r2311 r2313 1342 1342 """ 1343 1343 1344 cue init(t as IType ?)1344 cue init(t as IType) 1345 1345 require not t inherits NilableType 1346 1346 base.init(t) … … 1524 1524 var _box as Box? 1525 1525 1526 cue init(t as IType ?)1526 cue init(t as IType) 1527 1527 base.init(t) 1528 1528 … … 1613 1613 var _hashCode as int? 1614 1614 1615 cue init(wrappedType as IType ?) # CC: shouldn't have to make wrappedType nilable. should resolve with cues1616 base.init # TODO: ? pass wrappedType.superType1615 cue init(wrappedType as IType) 1616 base.init 1617 1617 assert not wrappedType inherits NameSpace # TODO: remove this when NameSpace is no longer an IType 1618 _wrappedType = wrappedType to !1618 _wrappedType = wrappedType 1619 1619 1620 1620 get idString as String is override … … 1689 1689 Node.typeProvider = saveTP 1690 1690 1691 cue init(wrappedType as IType ?)1691 cue init(wrappedType as IType) 1692 1692 base.init(wrappedType) 1693 1693 … … 1776 1776 var _ilistOf as Interface? # TODO: does ArrayType need _ilistOf too? 1777 1777 1778 cue init(wrappedType as IType ?)1778 cue init(wrappedType as IType) 1779 1779 base.init(wrappedType) 1780 1780



