ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0005834Part 01: TTCN-3 Core LanguageEditorialpublic30-11-2010 15:3701-12-2010 16:51
Ina Schieferdecker 
Ina Schieferdecker 
normalminorhave not tried
closedfixed 
 
v4.3.1 (published 2011-06)v4.3.1 (published 2011-06) 
6.2.4 Example 1
Ina Schieferdecker, FOKUS
0005834: Enumeration values are of local scope - example is to be corrected
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
No tags attached.
related to 0005553closed Ina Schieferdecker Interpretation of import mechanism 
related to 0005996closed Ina Schieferdecker Correct const enumerated example the same way as the type example 
Issue History
30-11-2010 15:37Ina SchieferdeckerNew Issue
30-11-2010 15:37Ina SchieferdeckerClause Reference(s) => 6.2.4 Example 1
30-11-2010 15:37Ina SchieferdeckerSource (company - Author) => Ina Schieferdecker, FOKUS
30-11-2010 15:38Ina SchieferdeckerRelationship addedrelated to 0005553
30-11-2010 15:38Ina SchieferdeckerProjectTTCN-3 Change Requests => Part 01: TTCN-3 Core Language
30-11-2010 17:37Gyorgy RethyAssigned To => Ina Schieferdecker
30-11-2010 17:37Gyorgy RethyStatusnew => assigned
30-11-2010 17:37Gyorgy RethyTarget Version => Edition 4.3.1 (not yet published)
01-12-2010 16:36Gyorgy RethyNote Added: 0009903
01-12-2010 16:51Ina SchieferdeckerStatusassigned => resolved
01-12-2010 16:51Ina SchieferdeckerResolutionopen => fixed
01-12-2010 16:51Ina SchieferdeckerFixed in Version => Edition 4.3.1 (not yet published)
01-12-2010 16:51Ina SchieferdeckerStatusresolved => closed
09-08-2012 13:46Ina SchieferdeckerRelationship addedrelated to 0005996

Notes
(0009903)
Gyorgy Rethy   
01-12-2010 16:36   
Proposal is OK with me.