ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 02-05-2024 22:51 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007390 | Part 01: TTCN-3 Core Language | Editorial | public | 08-02-2016 10:05 | 09-12-2016 15:07 | ||||
Reporter | Bogdan Stanca-Kaposta | ||||||||
Assigned To | Gyorgy Rethy | ||||||||
Priority | normal | Severity | trivial | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | v4.7.1 (published 2015-06) | ||||||||
Target Version | v4.9.1 (published 2017-05) | Fixed in Version | v4.9.1 (published 2017-05) | ||||||
Summary | 0007390: Misleading variable name | ||||||||
Description | On the Example at page 158, the variable name "myTempVar" may be misleading (since may be interpreted as my template variable). Conform 15.9 Match Operation the first parameter of the match operator is the expression and second the template. | ||||||||
Additional Information | page 158 // the above select statement is equivalent to the following nested if-else statement. // Note: the following textual replacement of the select-case statement is described in // the operational semantics of TTCN-3. { var charstring myTempVar := MyModulePar; if (match(myTempVar, "firstValue") { log ("The first branch is selected"); } else if (match(myTempVar, MyCharVar) or match(myTempVar, MyCharConst)) { log ("The second branch is selected"); } else { log ("The value of the module parameter MyModulePar is selected"); } } | ||||||||
Tags | No tags attached. | ||||||||
Clause Reference(s) | 19.3.1 The Select case statement | ||||||||
Source (company - Author) | STF 487 | ||||||||
Attached Files | CR7390_resolution_v1.docx [^] (80,611 bytes) 15-08-2016 09:45 CR7390_resolution_v2.docx [^] (61,851 bytes) 09-11-2016 07:38 | ||||||||
Notes | |
(0013975) Jens Grabowski (manager) 18-07-2016 10:47 |
@Axel: if ok, resolve and assign to György for integration. |
(0014059) Axel Rennoch (developer) 15-08-2016 09:46 |
Please have a look to the resolution. |
(0014222) Gyorgy Rethy (reporter) 09-11-2016 07:38 |
variable name is also replaced in the first if. |
(0014366) Gyorgy Rethy (reporter) 09-12-2016 15:07 |
Added to draft V4.8.2 |
Issue History | |||
Date Modified | Username | Field | Change |
08-02-2016 10:05 | Bogdan Stanca-Kaposta | New Issue | |
18-07-2016 10:47 | Jens Grabowski | Note Added: 0013975 | |
18-07-2016 10:47 | Jens Grabowski | Assigned To | => Axel Rennoch |
18-07-2016 10:47 | Jens Grabowski | Status | new => assigned |
15-08-2016 09:45 | Axel Rennoch | File Added: CR7390_resolution_v1.docx | |
15-08-2016 09:46 | Axel Rennoch | Note Added: 0014059 | |
15-08-2016 09:46 | Axel Rennoch | Assigned To | Axel Rennoch => Gyorgy Rethy |
15-08-2016 09:46 | Axel Rennoch | Status | assigned => confirmed |
17-08-2016 11:58 | Jacob Wieland - Spirent | Target Version | => v4.9.1 (published 2017-05) |
09-11-2016 07:38 | Gyorgy Rethy | File Added: CR7390_resolution_v2.docx | |
09-11-2016 07:38 | Gyorgy Rethy | Note Added: 0014222 | |
09-11-2016 07:38 | Gyorgy Rethy | Status | confirmed => resolved |
09-11-2016 07:38 | Gyorgy Rethy | Fixed in Version | => v4.9.1 (published 2017-05) |
09-11-2016 07:38 | Gyorgy Rethy | Resolution | open => fixed |
09-12-2016 15:07 | Gyorgy Rethy | Note Added: 0014366 | |
09-12-2016 15:07 | Gyorgy Rethy | Status | resolved => closed |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |