Changeset 1781 for cobra/trunk/Source/BackEndClr/SharpGenerator.cobra
- Timestamp:
- 11/28/08 20:11:01 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/BackEndClr/SharpGenerator.cobra
r1768 r1781 789 789 return '0' 790 790 791 791 792 class PassThroughType 792 793 is partial … … 797 798 get sharpRef as String is override 798 799 return '/*passthrough*/object' 800 801 802 class StreamType 803 is partial 804 805 get sharpInit as String is override 806 return 'new EmptyStream<[.theWrappedType.sharpRef]>()' 807 808 get sharpRef as String is override 809 assert .didBindInh and .didBindInt 810 return '/*[.name]*/[.box.sharpRef]' 799 811 800 812 … … 1488 1500 sw.write(' = ') 1489 1501 _initExpr.writeSharpDef(sw) 1502 else if .type.isReference and not .type.nonNil inherits GenericParam 1503 sharpInit = .type.sharpInit 1504 if sharpInit.length 1505 sw.write(' = ') 1506 sw.write(sharpInit) 1490 1507 sw.write(';\n') 1491 1508



