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

ID | Project | Category | View Status | Date Submitted | Last Update
0005920 | Part 01: TTCN-3 Core Language | Technical | public | 11-08-2011 16:16 | 28-09-2011 12:34

Reporter | Gyorgy Rethy |
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) | 16.1.2
Source (company - Author) | L.M.Ericsson

Summary | 0005920: Out parameter of int2enum need not be initialized

Description

Clause 16.1.2 restriction 3)contains the generic statement
"3) all actual parameters shall be initialized with the exception of the actual parameter passed to the predefined functions isvalue, ischosen, ispresent and isbound predefined function, which may be uninitialized or even non-evaluable reference expressions."
while int2enum() has an out parameter that need not be initialized when the function is called.
Solution
change restriction 3) to ("in and inout" is added):
"3) all actual in and inout parameters shall be initialized with the exception of the actual parameter passed to the predefined functions isvalue, ischosen, ispresent and isbound predefined function, which may be uninitialized or even non-evaluable reference expressions."

Steps To Reproduce |
Additional Information | Change to "all in and inout actual parameters ..."
Tags | No tags attached.

Relationships

related to | 0005965 | closed | Ina Schieferdecker | Invalid reference to shift operator

Attached Files |

Issue History
Date Modified | Username | Field | Change
11-08-2011 16:16 | Gyorgy Rethy | New Issue |
11-08-2011 16:16 | Gyorgy Rethy | Clause Reference(s) | => 16.1.2
11-08-2011 16:16 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
11-08-2011 16:20 | Gyorgy Rethy | Description Updated |
27-09-2011 11:30 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
27-09-2011 11:30 | Gyorgy Rethy | Status | new => assigned
27-09-2011 11:30 | Gyorgy Rethy | Target Version | => Edition 4.4.1
27-09-2011 11:30 | Gyorgy Rethy | Additional Information Updated |
28-09-2011 12:33 | Ina Schieferdecker | Note Added: 0010269 |
28-09-2011 12:34 | Ina Schieferdecker | Status | assigned => closed
28-09-2011 12:34 | Ina Schieferdecker | Resolution | open => fixed
28-09-2011 12:34 | Ina Schieferdecker | Fixed in Version | => Edition 4.4.1
29-11-2011 13:33 | Ina Schieferdecker | Relationship added | related to 0005965

Notes

(0010269)
Ina Schieferdecker
28-09-2011 12:33

as proposed.