Show
Ignore:
Timestamp:
08/18/08 11:40:51 (5 months ago)
Author:
Chuck.Esterbrook
Message:

Fix a bug in partial class support.

Files:
1 modified

Legend:

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

    r1576 r1582  
    12681268                                else 
    12691269                                        # since we don't have 'this', try prepending 'this' 
    1270                                         args.insert(0, ThisLit(.token, .compiler.boxStack.peek).bindImp) 
     1270                                        args.insert(0, ThisLit(.token).bindImp) 
    12711271                        else if args.count == 0 and params.count == 2 
    12721272                                # missing both 'this' and event args 
    1273                                 args.add(ThisLit(.token, .compiler.boxStack.peek).bindImp) 
     1273                                args.add(ThisLit(.token).bindImp) 
    12741274                                args.add(_postCallForType(params[params.count-1].type)) 
    12751275                        else