Show
Ignore:
Timestamp:
08/28/08 06:40:46 (4 months ago)
Author:
Chuck.Esterbrook
Message:

Fix a bug in extended initializers.
Also, make the helper methods for them private.

Files:
1 modified

Legend:

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

    r1591 r1598  
    426426 
    427427        def writeSharpDef(sw as SharpWriter, parens as bool) is override 
    428                 if parens, sw.write('(') 
    429428                if _helperMethod 
    430429                        sw.write(_helperMethod.name + '(') 
     
    438437                        sw.write(')') 
    439438                else 
     439                        if parens, sw.write('(') 
    440440                        expr = _expr 
    441441                        isMethodSig = false 
     
    496496                                .writeSharpArgs(sw, ', ') 
    497497                                sw.write(')') 
    498                 if parens, sw.write(')') 
     498                        if parens, sw.write(')') 
    499499 
    500500        def writeSharpArgs(sw as SharpWriter)