Wiki

Ticket #380: EnumDecl-sharpInit.patch

File EnumDecl-sharpInit.patch, 466 bytes (added by thriwkin, 10 years ago)
  • Source/BackEndClr/SharpGenerator.cobra

     
    954954class EnumDecl is partial 
    955955 
    956956    get sharpInit as String is override 
    957         return .sharpRef + '.' + _declsInOrder[0].name 
     957        return "0" 
    958958 
    959959    def writeSharpDef(sw as CurlyWriter) is override 
    960960        base.writeSharpDef(sw)