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
0007619Part 01: TTCN-3 Core LanguageNew Featurepublic16-02-2017 14:5904-01-2019 16:17
ReporterJacob Wieland - Spirent 
Assigned ToGyorgy Rethy 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versionv4.9.1 (published 2017-05) 
Target Version4.11.1 (published 2019-05)Fixed in Version4.11.1 (published 2019-05) 
Summary0007619: No named interleave construct available.
DescriptionThe interleave statement is explained as shorthand notation for more complicated alt-statements processing the interleave branches in an interleaving-parallel fashion.

For normal alt statements, the possibility to de-inline them by defining them as a teststep and then referencing them from multiple places exists, while for interleave, this is not possible. That means that if the same interleave statement is needed in multiple places, it needs to be copied which is bad for code maintenance and readability.

As a workaround, at the moment, the interleave statement can be put into a function, but then this cannot be used in the place of altsteps in the event-part of an alt-statement, but only as a new top-level interleave.

For better compositionality and consistency, we thus propose to allow to define interleave altsteps and to allow to use such altsteps wherever a normal altstep reference is allowed, i.e.

altstep I() interleave {
< local variable declarations that live during the duration of this block >
[] ...
[] ...
}

alt {
[] I() { ... }
[] ...
}

The syntactic changes to the language would be minimal and fully backward compatible.
TagsNo tags attached.
Clause Reference(s)16.2, 20.2, 20.4
Source (company - Author)Spirent - Jacob Wieland
Attached Filesdocx file icon 7619.docx [^] (101,443 bytes) 13-12-2017 12:43
docx file icon CR7619-2.docx [^] (161,943 bytes) 20-07-2018 08:59

- Relationships

-  Notes
(0014846)
Jens Grabowski (manager)
24-10-2017 13:05

STF discussion: Requires proposal and possibly further discussion.
(0014942)
Julien Deltour (reporter)
13-12-2017 12:43

Porposal uploaded.
(0015055)
Jacob Wieland - Spirent (reporter)
05-02-2018 12:15

I have looked over the proposal.

There are some small English grammar issues (missing articles and suchlike).

There is no restriction section. (The same restrictions as for normal interleave shall apply)
(0015184)
Jacob Wieland - Spirent (reporter)
20-07-2018 09:00

please review
(0015189)
Tomas Urban (developer)
20-07-2018 11:41

Reviewed, no issues found. The proposal is ready to be added to the next version of the core language standard.
(0015296)
Gyorgy Rethy (reporter)
04-01-2019 16:17

Added to draft V4.10.2

- Issue History
Date Modified Username Field Change
16-02-2017 14:59 Jacob Wieland - Spirent New Issue
06-06-2017 14:38 Jens Grabowski Project TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
06-06-2017 14:39 Jens Grabowski Assigned To => Julien Deltour
06-06-2017 14:39 Jens Grabowski Status new => assigned
24-10-2017 13:05 Jens Grabowski Note Added: 0014846
13-12-2017 12:43 Julien Deltour File Added: 7619.docx
13-12-2017 12:43 Julien Deltour Note Added: 0014942
13-12-2017 12:43 Julien Deltour Status assigned => confirmed
13-12-2017 12:43 Julien Deltour Assigned To Julien Deltour => Jens Grabowski
13-12-2017 12:43 Julien Deltour Status confirmed => assigned
05-01-2018 13:27 Gyorgy Rethy Product Version => v4.9.1 (published 2017-05)
05-01-2018 13:27 Gyorgy Rethy Target Version => 4.11.1 (published 2019-05)
05-02-2018 12:15 Jacob Wieland - Spirent Note Added: 0015055
05-02-2018 12:15 Jacob Wieland - Spirent Status assigned => confirmed
18-07-2018 15:37 Jens Grabowski Assigned To Jens Grabowski => Jacob Wieland - Spirent
18-07-2018 15:37 Jens Grabowski Status confirmed => assigned
20-07-2018 08:59 Jacob Wieland - Spirent File Added: CR7619-2.docx
20-07-2018 09:00 Jacob Wieland - Spirent Note Added: 0015184
20-07-2018 09:00 Jacob Wieland - Spirent Assigned To Jacob Wieland - Spirent => Tomas Urban
20-07-2018 09:00 Jacob Wieland - Spirent Status assigned => confirmed
20-07-2018 11:41 Tomas Urban Note Added: 0015189
20-07-2018 11:41 Tomas Urban Status confirmed => resolved
20-07-2018 11:41 Tomas Urban Resolution open => fixed
20-07-2018 11:41 Tomas Urban Assigned To Tomas Urban => Gyorgy Rethy
04-01-2019 16:17 Gyorgy Rethy Note Added: 0015296
04-01-2019 16:17 Gyorgy Rethy Status resolved => closed
04-01-2019 16:17 Gyorgy Rethy Fixed in Version => 4.11.1 (published 2019-05)


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