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

ID | Project | Category | View Status | Date Submitted | Last Update
0005952 | Part 01: TTCN-3 Core Language | Clarification | public | 27-10-2011 15:08 | 28-11-2011 16:08

Reporter | Wolfgang Seka |
Assigned To |  |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | no change required |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.4.1 (published 2012-04) | Fixed in Version |  |
Clause Reference(s) | 201 873-1 cl. 8.2.1 and/or cl. 10
Source (company - Author) | stf160 - Wolfgang

Summary | 0005952: Assignment of a module parameter to a constant or another module parameter

Description

It seems that
modulepar T m1;
const T m2 := m1;
is not allowed in TTCN-3 but I've not found any clear statement in the core language (Note: the above example would allow aliases for module parameters what would be useful for maintenance reasons)
Furthermore it seems not to be clear whether
modulepar T m1;
modulepar T m2 := m1;
is allowed acc. to the core language.
=> clarification is appreciated.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
27-10-2011 15:08 | Wolfgang Seka | New Issue |
27-10-2011 15:08 | Wolfgang Seka | Clause Reference(s) | => 201 873-1 cl. 8.2.1 and/or cl. 10
27-10-2011 15:08 | Wolfgang Seka | Source (company - Author) | => stf160 - Wolfgang
28-11-2011 16:05 | Gyorgy Rethy | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
28-11-2011 16:08 | Gyorgy Rethy | Note Added: 0010356 |
28-11-2011 16:08 | Gyorgy Rethy | Status | new => closed
28-11-2011 16:08 | Gyorgy Rethy | Resolution | open => no change required
28-11-2011 16:08 | Gyorgy Rethy | Target Version | => Edition 4.4.1

Notes

(0010356)
Gyorgy Rethy
28-11-2011 16:08

None of the above cases are forbidden, there is no error. Clause 10 declares constants are runtime constants.