ETSI's Bug Tracker - Part 01: TTCN-3 Core Language | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008223 | Part 01: TTCN-3 Core Language | Editorial | public | 28-03-2024 10:42 | 28-03-2024 11:23 |
Reporter | Matthias Simon | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Clause Reference(s) | 19.4.2 -- The range based loop | ||||
Source (company - Author) | Nokia - Matthias Simon | ||||
Summary | 0008223: Invalid example | ||||
Description | EXAMPLE 3: // Iterate over partially initialized ranges // var integer e, i := 0; for (e in {1, -, -}) { i++; } log("final value:", e); // Output: // 0 // 1 // 2 //final value: - Output does not match expected behavior. Example should be: EXAMPLE 3: // Iterate over partially initialized ranges // var integer e, i := 0; for (e in {1, -, 3}) { log(i, e) i++; } log("final value:", e); // Output: // 0 1 // 1 UNINITIALIZED // 2 3 // final value: 3 //final value: - | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
28-03-2024 10:42 | Matthias Simon | New Issue | |||
28-03-2024 11:23 | Matthias Simon | Note Added: 0016622 |
Notes | |||||
|
|||||
|
|