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

ID | Project | Category | View Status | Date Submitted | Last Update
0003381 | Part 01: TTCN-3 Core Language | Clarification | public | 16-05-2008 10:00 | 07-10-2008 07:07

Reporter | Thomas DeiÃŸ |
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.1.1 (published 2009-06) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | 5.2
Source (company - Author) | Nokia Siemens Networks, Thomas DeiÃŸ

Summary | 0003381: scope unit of modulenames

Description

The 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;
}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR3381_ModuleName.doc (31,232) 17-08-2008 10:38 http://oldforge.etsi.org/mantis/file_download.php?file_id=1613&type=bug

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)

Notes

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

some rewording

(0006559)
Thomas DeiÃŸ
18-08-2008 13:53

checked: solution ok.