Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003381Part 01: TTCN-3 Core LanguageClarificationpublic16-05-2008 10:0007-10-2008 07:07
ReporterThomas Deiß 
Assigned ToIna Schieferdecker 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionv4.1.1 (published 2009-06)Fixed in Versionv4.1.1 (published 2009-06) 
Summary0003381: scope unit of modulenames
DescriptionThe use of modulenames as identifiers is not 100% clear from part1:
In the subsequent example, the declaration of ma as typeand of mb as local variable is not allowed because ma and mb are already used as modulenames and these are considered to be higher scope units. And then the general clause that identifiers of higher scope units must not be used in lower scope units applies. If that's the agreed understanding I suggest to add a paragraph mentioning to which scope unit a modulename belongs. ("The identifier of a module or of an imported module belongs to the scope unit of the module and cannot be used as identifier for other definitions inside the module.")

module mb {
  import from ma { type typA }
  import from ma { type typB }

  function plus1() return integer {
    var integer mb := 1;
    return mb;
  }
  
  type boolean ma;
}
TagsNo tags attached.
Clause Reference(s)5.2
Source (company - Author)Nokia Siemens Networks, Thomas Deiß
Attached Filesdoc file icon CR3381_ModuleName.doc [^] (31,232 bytes) 17-08-2008 10:38

- Relationships

-  Notes
(0006547)
Ina Schieferdecker (reporter)
17-08-2008 10:39

some rewording
(0006559)
Thomas Deiß (reporter)
18-08-2008 13:53

checked: solution ok.

- Issue History
Date Modified Username Field Change
16-05-2008 10:00 Thomas Deiß New Issue
16-05-2008 10:00 Thomas Deiß Status new => assigned
16-05-2008 10:00 Thomas Deiß Assigned To => Ina Schieferdecker
16-05-2008 10:00 Thomas Deiß Clause Reference(s) => 5.2
16-05-2008 10:00 Thomas Deiß Source (company - Author) => Nokia Siemens Networks, Thomas Deiß
16-05-2008 10:01 Thomas Deiß Project TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
17-08-2008 09:35 Ina Schieferdecker Target Version => Edition 4.1.1 (not yet published)
17-08-2008 10:38 Ina Schieferdecker File Added: CR3381_ModuleName.doc
17-08-2008 10:39 Ina Schieferdecker Note Added: 0006547
17-08-2008 10:39 Ina Schieferdecker Assigned To Ina Schieferdecker => Thomas Deiß
17-08-2008 10:39 Ina Schieferdecker Resolution open => fixed
18-08-2008 13:53 Thomas Deiß Note Added: 0006559
19-08-2008 04:29 Thomas Deiß Assigned To Thomas Deiß => Ina Schieferdecker
07-10-2008 07:07 Ina Schieferdecker Status assigned => resolved
07-10-2008 07:07 Ina Schieferdecker Status resolved => closed
07-10-2008 07:07 Ina Schieferdecker Fixed in Version => Edition 4.1.1 (not yet published)


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker