Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005937Part 01: TTCN-3 Core LanguageNew Featurepublic28-09-2011 13:4629-11-2011 11:24
ReporterJacob Wieland - Spirent 
Assigned ToIna Schieferdecker 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionv4.4.1 (published 2012-04)Fixed in Versionv4.4.1 (published 2012-04) 
Summary0005937: Generalize annotation of attributes to declarations/members.
Description1. It should be possible to add a with-block also for local declarations (i.e. var/const/template/timer/port). Actually, the standard text does not disallow this. There is no mention where the with-statement can actually be placed (except in the BNF).

2. It should be allowed also for component type declarations to add annotations referencing the members of the component type. Although this can be solved as well with 1. the possibility of referencing multiple members in one annotation saves the user from unnecessary repetition). I also think that the standard already implies that this should already be possible:

Clause 27.2. Restriction a)
"DefinitionRef and FieldReference must refer to a definition or field respectively which is within the module, group or definition to which the with statement is associated."
TagsNo tags attached.
Clause Reference(s)Clause 27
Source (company - Author)Testing Technologies - Jacob Wieland
Attached Filesdoc file icon CR5937-proposal.doc [^] (687,616 bytes) 29-09-2011 15:28

- Relationships
related to 0005966closedGyorgy Rethy Invalid syntax in 6.2 example 5 

-  Notes
(0010277)
Gyorgy Rethy (reporter)
28-09-2011 14:29
edited on: 29-09-2011 11:04

STF discussion 2011-09-29: Basically agreed. The feaute should not complicate the use of attributes. Check possible tricky cases, overriding rules, rules when importing declarations with attributes attached to local definitions etc.

(0010301)
Jacob Wieland - Spirent (reporter)
29-09-2011 15:32

please review proposal. Maybe WithStatement should also be allowed for port-type local declarations. If so, this needs to be taken into account for CR 5923.

Other possible candidates are inline templates (i.e. TemplateBody) and parameter declarations (although these can already be annotated using the with statement with member-ref, I guess).
(0010382)
Ina Schieferdecker (reporter)
29-11-2011 11:22

Changed to "A with statement may associate attributes to a single language element or to elements or fields of structured types (in a recursive way) or to members of component or port types, the same way ..."

Note added to 27.1.3

BNF changes as in CR5966
(0010383)
Ina Schieferdecker (reporter)
29-11-2011 11:24

CR5966 yet to be implemented.

- Issue History
Date Modified Username Field Change
28-09-2011 13:46 Jacob Wieland - Spirent New Issue
28-09-2011 13:46 Jacob Wieland - Spirent Clause Reference(s) => Clause 27
28-09-2011 13:46 Jacob Wieland - Spirent Source (company - Author) => Testing Technologies - Jacob Wieland
28-09-2011 14:07 Gyorgy Rethy Project TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
28-09-2011 14:29 Gyorgy Rethy Note Added: 0010277
28-09-2011 14:29 Gyorgy Rethy Assigned To => Jacob Wieland - Spirent
28-09-2011 14:29 Gyorgy Rethy Status new => assigned
28-09-2011 14:29 Gyorgy Rethy Target Version => Edition 4.4.1
29-09-2011 11:04 Gyorgy Rethy Note Edited: 0010277
29-09-2011 15:28 Jacob Wieland - Spirent File Added: CR5937-proposal.doc
29-09-2011 15:32 Jacob Wieland - Spirent Note Added: 0010301
29-09-2011 15:32 Jacob Wieland - Spirent Relationship added related to 0005923
29-09-2011 15:34 Jacob Wieland - Spirent Assigned To Jacob Wieland - Spirent => Ina Schieferdecker
29-11-2011 11:04 Ina Schieferdecker Relationship added related to 0005966
29-11-2011 11:22 Ina Schieferdecker Note Added: 0010382
29-11-2011 11:23 Ina Schieferdecker Status assigned => resolved
29-11-2011 11:23 Ina Schieferdecker Resolution open => fixed
29-11-2011 11:23 Ina Schieferdecker Fixed in Version => Edition 4.4.1
29-11-2011 11:23 Ina Schieferdecker Status resolved => closed
29-11-2011 11:24 Ina Schieferdecker Note Added: 0010383
29-11-2011 15:52 Ina Schieferdecker Relationship deleted related to 0005923


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker