Ticket #87 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

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

Changed 5 years ago by scoder

  • milestone changed from wishlist to 1.0

Changed 5 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.

Changed 4 years ago by scoder

Make that "heap allocated classes" ...

Changed 4 years ago by scoder

  • owner changed from somebody to vitja
  • milestone changed from 1.0 to 0.14

Changed 4 years ago by scoder

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