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

ID | Project | Category | View Status | Date Submitted | Last Update
0008091 | Part 01: TTCN-3 Core Language | New Feature | public | 23-03-2022 16:15 | 04-01-2023 10:52

Reporter | Matthias Simon |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | C 6.4 -- The not implemented function `???`
Source (company - Author) | Nokia - Matthias Simon

Summary | 0008091: Add the not-implemented-function `???`

Description

C 6.4 -- The not-implemented function `???`
??? [return any]
The not-implemented function `???` is an expression and can be used for code that remain to be implemented.
Only when executed `???` shall cause a runtime error to indicate not yet implemented code.
EXAMPLES:
function double(integer p := ???) return integer { return p*2)
control {
log(double(8)); // Is okay, because default value for p has not been evaluated.
log(double()); // Runtime error to signal the user execution of not implemented code.
}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR8091.doc (116,408) 11-11-2022 08:33 http://oldforge.etsi.org/mantis/file_download.php?file_id=4077&type=bug CR8091(2).doc (116,610) 06-12-2022 08:51 http://oldforge.etsi.org/mantis/file_download.php?file_id=4083&type=bug CR8091(3).docx (147,395) 06-12-2022 10:21 http://oldforge.etsi.org/mantis/file_download.php?file_id=4084&type=bug

Issue History
Date Modified | Username | Field | Change
23-03-2022 16:15 | Matthias Simon | New Issue |
16-08-2022 14:17 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
17-08-2022 10:44 | Jens Grabowski | Project | Part 01: TTCN-3 Core Language => TTCN-3 Change Requests
17-08-2022 10:54 | Jens Grabowski | Note Added: 0016232 |
17-08-2022 10:54 | Jens Grabowski | Assigned To | => Matthias Simon
17-08-2022 10:54 | Jens Grabowski | Status | new => assigned
10-11-2022 22:29 | Matthias Simon | File Added: CR8091.doc |
10-11-2022 22:30 | Matthias Simon | Note Added: 0016302 |
10-11-2022 22:30 | Matthias Simon | Assigned To | Matthias Simon => Tomas Urban
10-11-2022 22:30 | Matthias Simon | Status | assigned => confirmed
11-11-2022 08:33 | Matthias Simon | File Deleted: CR8091.doc |
11-11-2022 08:33 | Matthias Simon | File Added: CR8091.doc |
11-11-2022 08:34 | Matthias Simon | Note Added: 0016306 |
06-12-2022 08:16 | Tomas Urban | Assigned To | Tomas Urban => Matthias Simon
06-12-2022 08:16 | Tomas Urban | Status | confirmed => assigned
06-12-2022 08:16 | Tomas Urban | Note Added: 0016318 |
06-12-2022 08:32 | Matthias Simon | Note Added: 0016319 |
06-12-2022 08:51 | Matthias Simon | File Added: CR8091(2).doc |
06-12-2022 08:52 | Matthias Simon | Assigned To | Matthias Simon =>
06-12-2022 08:52 | Matthias Simon | Assigned To | => Tomas Urban
06-12-2022 10:21 | Tomas Urban | File Added: CR8091(3).docx |
06-12-2022 10:23 | Tomas Urban | Note Added: 0016357 |
06-12-2022 10:23 | Tomas Urban | Assigned To | Tomas Urban => Jens Grabowski
06-12-2022 10:23 | Tomas Urban | Status | assigned => confirmed
16-12-2022 09:26 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
16-12-2022 09:26 | Jens Grabowski | Note Added: 0016427 |
16-12-2022 09:26 | Jens Grabowski | Status | confirmed => resolved
16-12-2022 09:26 | Jens Grabowski | Resolution | open => fixed
04-01-2023 10:52 | Jens Grabowski | Note Added: 0016460 |
04-01-2023 10:52 | Jens Grabowski | Status | resolved => closed

Notes

(0016232)
Jens Grabowski
17-08-2022 10:54

TTF discussion: Usefull feature for TTCN-3 development. Proposal to be provided.

(0016302)
Matthias Simon
10-11-2022 22:30

Proposal has been attached. Please review.

(0016306)
Matthias Simon
11-11-2022 08:34

Note: This CR requires a new TCI operation. I will provide the missing document shorty.

(0016318)
Tomas Urban
06-12-2022 08:16

The rules are clear, I found no errors except incorrect quote type in the added BNF rules.
However, there are two topics for further discussion:
1. I think the symbol shall not be added as a predefined function to the section C, but as a specific function-related notation to the section 16.
2. Since the feature is intended for interactive development, It would be beneficial to add have an optional string parameter that would provide some context, e.g.: ??? ("TODO: XYZ unit start-up")

(0016319)
Matthias Simon
06-12-2022 08:32

> [...] the symbol shall not be added as a predefined function [...] Fine with me. > [...] add an optional string parameter Brilliant! FYI: I will drop the new TCI operation, because it's difficult to specify (slightly out of scope).

(0016357)
Tomas Urban
06-12-2022 10:23

I am fine with the provided resolution. I only make a couple of cosmetic changes. Jens, could you please check it as well?

(0016427)
Jens Grabowski
16-12-2022 09:26

ok

(0016460)
Jens Grabowski
04-01-2023 10:52

Implemented according to resolution in attached file.