Opened 6 years ago

Closed 6 years ago

#537 closed defect (fixed)

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 (2)

comment:1 Changed 6 years ago by scoder

  • Owner changed from somebody to vitja

comment:2 Changed 6 years ago by scoder

  • Milestone changed from wishlist to 0.13.1
  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.