Changeset 1594

Show
Ignore:
Timestamp:
08/28/08 04:32:56 (3 months ago)
Author:
Chuck.Esterbrook
Message:

Another bug fix related to partial classes.

Location:
cobra/trunk
Files:
2 modified

Legend:

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

    r1586 r1594  
    15561556                        return '' 
    15571557 
     1558        def mergedIntoPartialBox(newBox as Box) 
     1559                base.mergedIntoPartialBox(newBox) 
     1560                if .getPart, .getPart.mergedIntoPartialBox(newBox) 
     1561                if .setPart, .setPart.mergedIntoPartialBox(newBox) 
     1562 
    15581563        def unNilReturnType is override 
    15591564                assert _returnType is nil 
  • cobra/trunk/Tests/200-misc/820-partial/100-partial-class.cobra

    r1593 r1594  
    3131        def over2(i as int) 
    3232                pass 
     33 
     34        get prop as bool 
     35                return true