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

ID | Project | Category | View Status | Date Submitted | Last Update
0005834 | Part 01: TTCN-3 Core Language | Editorial | public | 30-11-2010 15:37 | 01-12-2010 16:51

Reporter | Ina Schieferdecker |
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.3.1 (published 2011-06) | Fixed in Version | v4.3.1 (published 2011-06) |
Clause Reference(s) | 6.2.4 Example 1
Source (company - Author) | Ina Schieferdecker, FOKUS

Summary | 0005834: Enumeration values are of local scope - example is to be corrected

Description

Due to the local scope of enumeration values the two definitions do not clash any more:
type enumerated MyFirstEnumType {
Monday, Tuesday, Wednesday, Thursday, Friday
};
type integer Monday;
// This definition causes an error as the name of the type has local or global visibility
Anyhow, the comment would have to be corrected.
Proposal is:
type enumerated MyFirstEnumType {
Monday, Tuesday, Wednesday, Thursday, Friday
};
type integer Monday;
// This definition does not clash with the previous one as Monday in MyFirstEnumType is of local scope
This relates to the resolution in CR 5553

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0005553 | closed | Ina Schieferdecker | Interpretation of import mechanism
related to | 0005996 | closed | Ina Schieferdecker | Correct const enumerated example the same way as the type example

Attached Files |

Issue History
Date Modified | Username | Field | Change
30-11-2010 15:37 | Ina Schieferdecker | New Issue |
30-11-2010 15:37 | Ina Schieferdecker | Clause Reference(s) | => 6.2.4 Example 1
30-11-2010 15:37 | Ina Schieferdecker | Source (company - Author) | => Ina Schieferdecker, FOKUS
30-11-2010 15:38 | Ina Schieferdecker | Relationship added | related to 0005553
30-11-2010 15:38 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
30-11-2010 17:37 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
30-11-2010 17:37 | Gyorgy Rethy | Status | new => assigned
30-11-2010 17:37 | Gyorgy Rethy | Target Version | => Edition 4.3.1 (not yet published)
01-12-2010 16:36 | Gyorgy Rethy | Note Added: 0009903 |
01-12-2010 16:51 | Ina Schieferdecker | Status | assigned => resolved
01-12-2010 16:51 | Ina Schieferdecker | Resolution | open => fixed
01-12-2010 16:51 | Ina Schieferdecker | Fixed in Version | => Edition 4.3.1 (not yet published)
01-12-2010 16:51 | Ina Schieferdecker | Status | resolved => closed
09-08-2012 13:46 | Ina Schieferdecker | Relationship added | related to 0005996

Notes

(0009903)
Gyorgy Rethy
01-12-2010 16:36

Proposal is OK with me.