Hello Michael,
We had come across this issue also last week, in the latest working session of STF349. The intention is actually that an identifier can be declared only once in a component type or the component types from which it is extended.
The case that a component type A extend B and C, and that both B and C extend a component type D is not considered to introduce the declarations of D twice. Hence this case would be allowed.
Please have a look at the corresponding CR (
t-ort.etsi.org/view.php?id=3943) and the resolution that is attached to it.
Best regards
Thomas
|
| Thomas Deiß |
| Nokia Siemens Networks |
| Heltorferstrasse 21, D-40472 Düsseldorf, Germany |
| Internal: 828 3584 |
| Mob: +49 151 5515 3584, tel: +49 211 9412 3584 |
| email:
This email address is being protected from spambots. You need JavaScript enabled to view it. |
|
>
Original Message
>From: active_ttcn3 : mts stf133 ttcn version 3 - active
>members only [
This email address is being protected from spambots. You need JavaScript enabled to view it.] On Behalf Of ext
>Michael Sperber
>Sent: Monday, 18. August 2008 13:42
>To:
This email address is being protected from spambots. You need JavaScript enabled to view it.
>Subject: Component-type compatibility vs. timer duration
>
>Another question tangentially related to timers:
>
>Component-type compatibility depends on "identical initial durations"
>for the timer instances (clause 6.3.3). What exactly does this mean?
>Identical expressions, or identical values? The duration of a
>timer instance is not restricted to a constant expression
>(and, for example, LibCommon_Sync.ttcn from the IPv6 test
>suite has a non-constant timer duration, which depends on a
>module parameter). If dynamic expressions are allowed, this
>is another facet of type compatibility that isn't statically
>decidable---is this intentional? Moreover, when is the
>duration expression evaluated? (Module initialization? Component
>creation?)
>
>The question probably also applies to regular variable
>declarations at the component level, but 6.3.3 at least talks
>about "initialization values" in this case.
>
>--
>Regards,
>Mike
>