Project

General

Profile

Bug #84

Define and implement order of initialization

Added by Felix Friedrich 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Compiler

Description

If a (record) type is defined with both a default constructor and static and dynamic initializers, it needs to be clearly defined when the different kind of initializers are called, e.g. in a procedure

-- procedure activation frame starts
(a) static initializers
-- procedure descriptor is published (for GC)
(b) default constructor is called for all variables
(c) dynamic initializers are called for all variables in variable block
(c') dynamic initializers are called for all variables in variable declaration statements

History

#1 Updated by Felix Friedrich 10 months ago

  • Category set to Compiler

#2 Updated by Felix Friedrich 10 months ago

defined and implemented with revision r9770

#3 Updated by Felix Friedrich 10 months ago

  • Status changed from New to Closed

Also available in: Atom PDF