Wiki

Ticket #378: StreamType-construction.patch

File StreamType-construction.patch, 501 bytes (added by thriwkin, 3 years ago)
  • Types.cobra

     
    15861586            _box.bindInh 
    15871587            _superType = _box 
    15881588 
     1589    def secondaryConstructedTypeFor(box as Box, gpToType as Dictionary<of GenericParam, IType>) as IType is override 
     1590        t = StreamType(_wrappedType.secondaryConstructedTypeFor(box, gpToType)) 
     1591        t.bindInh 
     1592        t.bindInt 
     1593        return t 
    15891594 
     1595 
    15901596class VoidType 
    15911597    is partial 
    15921598    inherits CobraType