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

ID | Project | Category | View Status | Date Submitted | Last Update
0004934 | Part 01: TTCN-3 Core Language | Clarification | public | 03-03-2009 11:13 | 09-07-2009 11:31

Reporter | Gyorgy Rethy |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | always
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | 15.10
Source (company - Author) | L.M.Ericsson

Summary | 0004934: valueof cannot return omit

Description

The question, if omit is a value or not is raised by users time-to-time. This point has been discussed within the STF several times, coming to the conclusion, that omit is not a value (i.e. var integer int := omit //causes error) but the text of the standard has not been changed. This question has also been raised by TF160, in relation to valueof().
It is proposed to add the following example to clause 15.10:
function f (template(omit) integer pl_int) {
var integer int := valueof(pl_int)
...
}
...
function f2 () {
f(5); //correct
f(omit);// will cause an error within f(), as omit is not a value, thus cannot be returned by valueof

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

Attached Files

CR4934_Valueof_omit.doc (131,584) 06-07-2009 11:57
http://oldforge.etsi.org/mantis/file_download.php?file_id=2167&type=bug
CR4934_Valueof_omit v2.doc (261,632) 06-07-2009 13:34
http://oldforge.etsi.org/mantis/file_download.php?file_id=2169&type=bug
CR4934_Valueof_omit v3.doc (270,848) 07-07-2009 09:44
http://oldforge.etsi.org/mantis/file_download.php?file_id=2175&type=bug
CR4934_Valueof_omit_v4.doc (271,360) 08-07-2009 15:26
http://oldforge.etsi.org/mantis/file_download.php?file_id=2192&type=bug

Issue History
Date Modified | Username | Field | Change
03-03-2009 11:13 | Gyorgy Rethy | New Issue |
03-03-2009 11:13 | Gyorgy Rethy | Status | new => assigned
03-03-2009 11:13 | Gyorgy Rethy | Assigned To | => Ina Schieferdecker
03-03-2009 11:13 | Gyorgy Rethy | Clause Reference(s) | => 15.10
03-03-2009 11:13 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson
10-03-2009 10:21 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
20-04-2009 11:49 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Tibor CsÃ¶ndes
06-07-2009 11:57 | Tibor CsÃ¶ndes | File Added: CR4934_Valueof_omit.doc |
06-07-2009 11:57 | Tibor CsÃ¶ndes | Note Added: 0008840 |
06-07-2009 11:58 | Tibor CsÃ¶ndes | Assigned To | Tibor CsÃ¶ndes => Gyorgy Rethy
06-07-2009 13:34 | Gyorgy Rethy | File Added: CR4934_Valueof_omit v2.doc |
06-07-2009 13:37 | Gyorgy Rethy | Note Added: 0008843 |
06-07-2009 13:38 | Gyorgy Rethy | Note Edited: 0008843 |
06-07-2009 13:39 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Tibor CsÃ¶ndes
06-07-2009 15:42 | Tibor CsÃ¶ndes | Note Added: 0008846 |
06-07-2009 15:42 | Tibor CsÃ¶ndes | Assigned To | Tibor CsÃ¶ndes => Ina Schieferdecker
07-07-2009 09:43 | Ina Schieferdecker | Note Added: 0008852 |
07-07-2009 09:44 | Ina Schieferdecker | File Added: CR4934_Valueof_omit v3.doc |
07-07-2009 09:44 | Ina Schieferdecker | Resolution | open => fixed
08-07-2009 15:25 | Gyorgy Rethy | Note Added: 0008875 |
08-07-2009 15:26 | Gyorgy Rethy | File Added: CR4934_Valueof_omit_v4.doc |
08-07-2009 15:26 | Gyorgy Rethy | Status | assigned => resolved
09-07-2009 11:30 | Ina Schieferdecker | Status | resolved => closed
09-07-2009 11:31 | Ina Schieferdecker | Fixed in Version | => Edition 4.2.1 (not yet published)

Notes

(0008840)
Tibor CsÃ¶ndes
06-07-2009 11:57

According to the suggestion an initial version uploaded.

(0008843)
Gyorgy Rethy
06-07-2009 13:37 (edited on: 06-07-2009 13:38)

CR4934_Valueof_omit v2.doc: Description of omit is also cleaned up in clause 15.7 and in Annex B as there are too many unclarities and questions about omit, and the current text in the standard really can easily be misunderstood.

(0008846)
Tibor CsÃ¶ndes
06-07-2009 15:42

Version v2 is OK with me!

(0008852)
Ina Schieferdecker
07-07-2009 09:43

some editorial changes

(0008875)
Gyorgy Rethy
08-07-2009 15:25

CR4934_Valueof_omit_v4.doc: Only editorial changes. OK with me.