Wiki

Changeset 2313

Show
Ignore:
Timestamp:
03/11/10 10:28:39 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Code cleanup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/Types.cobra

    r2311 r2313  
    13421342    """ 
    13431343 
    1344     cue init(t as IType?) 
     1344    cue init(t as IType) 
    13451345        require not t inherits NilableType 
    13461346        base.init(t) 
     
    15241524    var _box as Box? 
    15251525 
    1526     cue init(t as IType?) 
     1526    cue init(t as IType) 
    15271527        base.init(t) 
    15281528 
     
    16131613    var _hashCode as int? 
    16141614 
    1615     cue init(wrappedType as IType?)  # CC: shouldn't have to make wrappedType nilable. should resolve with cues 
    1616         base.init  # TODO: ? pass wrappedType.superType 
     1615    cue init(wrappedType as IType) 
     1616        base.init 
    16171617        assert not wrappedType inherits NameSpace  # TODO: remove this when NameSpace is no longer an IType 
    1618         _wrappedType = wrappedType to ! 
     1618        _wrappedType = wrappedType 
    16191619 
    16201620    get idString as String is override 
     
    16891689            Node.typeProvider = saveTP 
    16901690 
    1691     cue init(wrappedType as IType?) 
     1691    cue init(wrappedType as IType) 
    16921692        base.init(wrappedType) 
    16931693 
     
    17761776    var _ilistOf as Interface?  # TODO: does ArrayType need _ilistOf too? 
    17771777 
    1778     cue init(wrappedType as IType?) 
     1778    cue init(wrappedType as IType) 
    17791779        base.init(wrappedType) 
    17801780