Show
Ignore:
Timestamp:
08/28/08 07:55:03 (4 months ago)
Author:
Chuck.Esterbrook
Message:

Code cleanup.
Retire BoxMember?.box in favor of the more explicitly named .parentBox

Files:
1 modified

Legend:

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

    r1591 r1606  
    570570                                try 
    571571                                        if decl inherits BoxMember 
    572                                                 if decl.box is not this  # TODO: when does this happen 
     572                                                if decl.parentBox is not this  # TODO: when does this happen 
    573573                                                        continue 
    574574                                        decl.bindInt 
     
    637637                                try 
    638638                                        if decl inherits BoxMember 
    639                                                 if decl.box is not this 
     639                                                if decl.parentBox is not this 
    640640                                                        continue 
    641641                                        decl.bindImp 
     
    13731373                                try 
    13741374                                        if decl inherits BoxMember 
    1375                                                 if decl.box is not this  # skip extension methods that were not declared in this box 
     1375                                                if decl.parentBox is not this  # skip extension methods that were not declared in this box 
    13761376                                                        continue 
    13771377                                        decl.writeSharpDef(sw)