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

ID | Project | Category | View Status | Date Submitted | Last Update
0005996 | Part 01: TTCN-3 Core Language | Editorial | public | 11-01-2012 09:39 | 09-08-2012 13:50

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.5.1 (published 2013-04) | Fixed in Version | v4.4.1 (published 2012-04) |
Clause Reference(s) | 6.2.4
Source (company - Author) | L.M.Ericsson

Summary | 0005996: Correct const enumerated example the same way as the type example

Description

Based on CR5834 the comment to the type definition of EXAMPLE1 has been corrected
from:
"type integer Monday;
// This definition causes an error as the name of the type has local or global visibility"
to:
"type integer Monday;
// This definition does not clash with the previous one
// as Monday in MyFirstEnumType is of local scope"
However, in the same EXAMPLE1 there is a constant definition that is an example for the same topic that has not been corrected:
"const integer Monday := 7
// This definition causes an error as it reuses the Monday enumeration identifier for a
// different TTCN 3 object within the same scope unit"

Steps To Reproduce |
Additional Information | Proposed solutions: 1) either correct the const example the same way as the type example in CR5834 to: const integer Monday := 7 //This definition does not clash with the name of the enumerated value // above as Monday in MyFirstEnumType is of local scope 2) or delete the example as it does not gives new information.
Tags | No tags attached.

Relationships

related to | 0005834 | closed | Ina Schieferdecker | Enumeration values are of local scope - example is to be corrected

Attached Files |

Issue History
Date Modified | Username | Field | Change
11-01-2012 09:39 | Gyorgy Rethy | New Issue |
11-01-2012 09:39 | Gyorgy Rethy | Clause Reference(s) | => 6.2.4
11-01-2012 09:39 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
10-07-2012 14:05 | Gyorgy Rethy | Note Added: 0010756 |
10-07-2012 14:05 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
10-07-2012 14:05 | Gyorgy Rethy | Status | new => assigned
10-07-2012 14:05 | Gyorgy Rethy | Target Version | => Edition 4.5.1
13-07-2012 12:49 | Tomas Urban | Note Added: 0010920 |
13-07-2012 13:37 | Tomas Urban | Note Deleted: 0010920 |
09-08-2012 11:31 | Gyorgy Rethy | Status | assigned => resolved
09-08-2012 11:31 | Gyorgy Rethy | Resolution | open => fixed
09-08-2012 11:31 | Gyorgy Rethy | Fixed in Version | => Edition 4.5.1
09-08-2012 13:46 | Ina Schieferdecker | Relationship added | related to 0005834
09-08-2012 13:50 | Ina Schieferdecker | Note Added: 0011006 |
09-08-2012 13:50 | Ina Schieferdecker | Status | resolved => closed
09-08-2012 13:50 | Ina Schieferdecker | Fixed in Version | Edition 4.5.1 => Edition 4.4.1 Published 2012-04-01

Notes

(0010756)
Gyorgy Rethy
10-07-2012 14:05

STF discussion 2012-07-10: proposed solution 1, correct the example is agreed.

(0011006)
Ina Schieferdecker
09-08-2012 13:50

That const definition has been removed from the text already during the MTS approval process.