Opened 6 years ago

Closed 4 years ago

#87 closed defect (fixed)

definitions in control structures

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

Description

Class and function definitions cannot be placed inside control structures.

Change History (5)

comment:1 Changed 6 years ago by scoder

  • Milestone changed from wishlist to 1.0

comment:2 Changed 6 years ago by scoder

For functions, this requires splitting the DefNode? up into the Def part and a separate assignment. Redefining functions must then be enabled, too.

For classes, this requires the use of head-allocated classes, which also serve various other helpful purposes, such as the truly module-local setup in Py3.

comment:3 Changed 4 years ago by scoder

Make that "heap allocated classes" ...

comment:4 Changed 4 years ago by scoder

  • Milestone changed from 1.0 to 0.14
  • Owner changed from somebody to vitja

comment:5 Changed 4 years ago by scoder

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.