Given the following three small source files below, why does the call c.dump() 
generate an error (attempting to call undeclared routine: 'dump'), but is it ok 
if I change this to dump(c)?

alpha.nim: 
    
    
    import bravo
    bravo()
    
    
    Run

bravo.nim: 
    
    
    import charlie
    
    template bravo_aux() =
      var c = Charlie()
      c.dump()
    
    template bravo*() =
      bravo_aux()
    
    
    Run

charlie.nim: 
    
    
    import charlie
    
    template bravo_aux() =
      var c = Charlie()
      c.dump()
    
    template bravo*() =
      bravo_aux()
    
    
    Run

Reply via email to