Derived types with address clauses for entries 86-12-01 AI-00292/05 1 | !standard 03.04 (10) 86-12-01 AI-00292/05 | !standard 13.05 (08) | !class binding interpretation 84-10-16 | !status approved by WG9/AJPO 86-11-26 | !status approved by Director, AJPO 86-11-26 | !status approved by WG9/Ada Board 86-11-18 !status panel/committee-approved 86-08-07 (reviewed) !status committee-approved (9-0-0) 85-11-22 (pending editorial review) !status received 84-10-16 !references AI-00138, AI-00379, 83-00448 !topic Derived types with address clauses for entries !summary 86-04-26 An address clause applied to an entry of a task type also applies to a type derived (directly or indirectly) from the task type. !question 86-01-06 Consider the following example: task type T is entry E; for E use ...; end T; type D is new T; X : D; Does the address clause of type T apply to the derived type D? !recommendation 86-04-30 If an address clause has been given for an entry of a task type and the task type is used as a parent type in a derived type declaration, the same address clause is given for the corresponding entry of the derived type. !discussion 86-01-07 This is a special case of AI-00138. Since T is the parent type of D and the address clause specifies an aspect of the parent task type entry (T.E), then the entry for D and the entry for T have the same address. AI-00379 discusses the meaning of a program that has two task objects that have entries associated with the same interrupt.