Ticket #537 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Closure inner function name conflict

Reported by: haoyu Owned by: vitja
Priority: major Milestone: 0.14
Component: Code Generation Keywords:
Cc: haoyu


Theis code won't compile with current closure branch, reporting name conflict error since the two inner function f() has the same name and their C-names are not properly mangled.

def nested1():
   def f():
       def g1():

def nested2():
   def f():
       def g2():

Change History

Changed 4 years ago by scoder

  • owner changed from somebody to vitja

Changed 4 years ago by scoder

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from wishlist to 0.13.1

Fixed as part of the class closures implementation for ticket #596:


Note: See TracTickets for help on using tickets.