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

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

Reporter | Roland Gecse |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | feature | 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.30
Source (company - Author) | L.M.Ericsson

Summary | 0002136: Remove sizeoftype predefined function

Description

The sizeoftype predefined function is supposed to be applied to "values of types with length restriction" and return "the sequential number of the last element without respect to whether its value is defined or not".
The return value depends on the length constraints of the type of the parameter. TTCN-3 subtype constraints are static and known at compilation time. The user is aware of these constraints when writing test cases w/o using sizeoftype. sizeoftype has thus no real contribution to TTCN-3.
Besides, sizeoftype behavior is undefined for a parameter type with indefinite upper bound length restriction e.g.
type set length(100..infinity) of integer whatever;
since "infinity" is not a number. This deficiency also contributes to the proposal of eliminating sizeoftype from TTCN-3.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | STF_solution_CR2136R1.doc (286,720) 18-10-2007 19:27 http://oldforge.etsi.org/mantis/file_download.php?file_id=1053&type=bug

Issue History
Date Modified | Username | Field | Change
12-10-2007 13:06 | Roland Gecse | New Issue |
12-10-2007 13:06 | Roland Gecse | Clause Reference(s) | => C.30
12-10-2007 13:06 | Roland Gecse | Source (company - Author) | => L.M.Ericsson
13-10-2007 19:04 | Ina Schieferdecker | Status | new => assigned
13-10-2007 19:04 | Ina Schieferdecker | Assigned To | => Gyorgy Rethy
15-10-2007 15:31 | Ina Schieferdecker | Note Added: 0003619 |
17-10-2007 17:01 | Gyorgy Rethy | File Added: es_20187301v030201p_CR2136.doc |
17-10-2007 17:02 | Gyorgy Rethy | File Deleted: es_20187301v030201p_CR2136.doc |
17-10-2007 17:02 | Gyorgy Rethy | File Added: STF_solution_CR2136.doc |
18-10-2007 12:06 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published)
18-10-2007 19:27 | Gyorgy Rethy | File Added: STF_solution_CR2136R1.doc |
18-10-2007 19:28 | Gyorgy Rethy | File Deleted: STF_solution_CR2136.doc |
19-10-2007 13:17 | Gyorgy Rethy | Resolution | open => fixed
06-12-2007 18:28 | Gyorgy Rethy | Note Added: 0004406 |
06-12-2007 18:28 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
06-12-2007 18:28 | Gyorgy Rethy | Status | assigned => resolved
07-12-2007 09:24 | Ina Schieferdecker | Status | resolved => closed
07-12-2007 09:24 | 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)

Notes

(0003619)
Ina Schieferdecker
15-10-2007 15:31

to be put as depreacted predefined function

(0004406)
Gyorgy Rethy
06-12-2007 18:28

Solution is in the file attached to CR424: function is removed.