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

ID | Project | Category | View Status | Date Submitted | Last Update
0002141 | Part 01: TTCN-3 Core Language | Technical | public | 12-10-2007 18:53 | 12-03-2008 10:24

Reporter | Roland Gecse |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v3.2.1 (published 2007-02) |
Target Version | v3.3.2 (published 2008-04) | Fixed in Version | v3.3.2 (published 2008-04) |
Clause Reference(s) | C.28, C.29
Source (company - Author) | L.M.Ericsson

Summary | 0002141: Why having both lengthof and sizeof?

Description

The semantics of predefined function lengthof could be extended to cover arguments of sizeof (i.e. support array/record [of]/set [of] in addition to *string types).
Interesting:
sizeof is the name of the predefined function getting the length,
length is the name of the sub-type constraint restricting the length,
lengthof cannot be used to get the length of a structured type value.
The solution should keep sizeof as a deprecated function for compatibility.

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

Relationships

related to | 0004848 | closed | Ina Schieferdecker | No record of, set of and arrays are supported by sizeof

Attached Files |

Issue History
Date Modified | Username | Field | Change
12-10-2007 18:53 | Roland Gecse | New Issue |
12-10-2007 18:53 | Roland Gecse | Clause Reference(s) | => C.28, C.29
12-10-2007 18:53 | Roland Gecse | Source (company - Author) | => L.M.Ericsson
13-10-2007 19:00 | Ina Schieferdecker | Status | new => assigned
13-10-2007 19:00 | Ina Schieferdecker | Assigned To | => developer_u
15-10-2007 16:02 | Ina Schieferdecker | Note Added: 0003620 |
17-10-2007 12:41 | user10 | Assigned To | developer_u => Thomas DeiÃŸ
18-10-2007 12:14 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published)
19-10-2007 13:19 | Gyorgy Rethy | Resolution | open => fixed
19-10-2007 13:19 | Gyorgy Rethy | Note Added: 0003705 |
03-12-2007 12:08 | Jens Grabowski | Assigned To | Thomas DeiÃŸ => Ina Schieferdecker
04-12-2007 16:40 | Ina Schieferdecker | Status | assigned => resolved
06-12-2007 18:02 | Ina Schieferdecker | Status | resolved => closed
06-12-2007 18:02 | Ina Schieferdecker | Fixed in Version | => Edition 3.3.1 (not yet published)
12-03-2008 10:22 | user10 | Fixed in Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
12-03-2008 10:24 | user10 | Target Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
13-02-2009 10:14 | Ina Schieferdecker | Relationship added | related to 0004848

Notes

(0003620)
Ina Schieferdecker
15-10-2007 16:02

enable lengthof for all sequence like types deprecate sizeof

(0003705)
Gyorgy Rethy
19-10-2007 13:19

STF solution text is in the common file attached to CR383