Wiki
Show
Ignore:
Timestamp:
11/14/11 02:17:21 (6 months ago)
Author:
Charles.Esterbrook
Message:

Fixed: Using a local variable in a method or property in a mix-in causes false compilation errors.
reported-by:callisto

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Tests/150-mixins/100-mixin-basics.cobra

    r2625 r2626  
    1212        return total 
    1313 
     14    def moreLocalVarTesting 
     15        if true 
     16            a = 1  # test local var inside a compound statement 
     17            CobraCore.noOp(a) 
     18        while false 
     19            b = 1 
     20            CobraCore.noOp(b) 
     21        if false 
     22            using tr = File.openText('foo') 
     23                pass 
     24         
    1425 
    1526mixin Named