ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0005928 | Part 01: TTCN-3 Core Language | Technical | public | 06-09-2011 12:43 | 30-11-2011 09:24

Reporter | Andrus Lehtmets |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.4.1 (published 2012-04) | Fixed in Version | v4.4.1 (published 2012-04) |
Clause Reference(s) | ETSI ES 201 873-1 (4.3.2 CL)
Source (company - Author) | Elvior

Summary | 0005928: ETSI ES 201 873-1 6.2 example 5: syntactically incorrect
Description | ETSI ES 201 873-1 6.2 example 5: syntactically incorrect, var statements cannot have a with clause; var should be replaced with const.
Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0005966 | closed | Gyorgy Rethy | Invalid syntax in 6.2 example 5

Attached Files |

Issue History
Date Modified | Username | Field | Change
06-09-2011 12:43 | Andrus Lehtmets | New Issue |
06-09-2011 12:43 | Andrus Lehtmets | Clause Reference(s) | => ETSI ES 201 873-1 (4.3.2 CL)
06-09-2011 12:43 | Andrus Lehtmets | Source (company - Author) | => Elvior
27-09-2011 11:23 | Gyorgy Rethy | Note Added: 0010238 |
27-09-2011 11:23 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
27-09-2011 11:23 | Gyorgy Rethy | Status | new => assigned
27-09-2011 12:30 | Gyorgy Rethy | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
27-09-2011 13:31 | Gyorgy Rethy | Target Version | => Edition 4.4.1
28-09-2011 12:25 | Ina Schieferdecker | Note Added: 0010265 |
28-09-2011 12:25 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Gyorgy Rethy
28-09-2011 15:11 | Gyorgy Rethy | Note Added: 0010282 |
28-09-2011 15:12 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
28-09-2011 15:12 | Gyorgy Rethy | Status | assigned => resolved
28-09-2011 15:12 | Gyorgy Rethy | Resolution | open => fixed
30-11-2011 09:18 | Ina Schieferdecker | Relationship added | related to 0005966
30-11-2011 09:24 | Ina Schieferdecker | Note Added: 0010414 |
30-11-2011 09:24 | Ina Schieferdecker | Status | resolved => closed
30-11-2011 09:24 | Ina Schieferdecker | Fixed in Version | => Edition 4.4.1

Notes

(0010238)
Gyorgy Rethy
27-09-2011 11:23

Comment is correct, include vars into a component type and move the attribute to the component type.

(0010265)
Ina Schieferdecker
28-09-2011 12:25

I suggest to have the with attribute in the type definition: type record R { integer f1, integer f2 optional, integer f3, integer f4 optional, integer f5 optional } with { optional "implicit omit" } var R x := { 1, -, 2 } // after the assignment x contains { 1, omit, 2, omit, omit } var R x2 := { 1, 2 } // after the assignment x2 contains { 1, 2, <undefined>, omit, omit } Please check.

(0010282)
Gyorgy Rethy
28-09-2011 15:11

Yes, correct.

(0010414)
Ina Schieferdecker
30-11-2011 09:24

Resolved by allowing with for local definitions - see CR5966