ETSI's Bug Tracker - Ext Pack: Advanced Parametrization (ES 202 784)
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0007573 | Ext Pack: Advanced Parametrization (ES 202 784) | Technical | public | 16-12-2016 19:50 | 16-12-2016 22:32

Reporter | Gyorgy Rethy |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v1.5.1 (published 2015-06) |
Target Version | v1.6.1 (published 2017-04) | Fixed in Version | v1.6.1 (published 2017-04) |
TS version | 1.5.1
Clause Reference(s) | 5.2
Source (company - Author) | L.M.Ericsson

Summary | 0007573: Default types shall not refer to value parameters
Description | CR 7294 restricts formal parameter default values to reference other formal parameters in the same parameter list for Part-1. The same apply as well for default values of type parameters (see example in CR 7294).
Steps To Reproduce |

Additional Information

Add the text to the clause describing changes to clause 5.4.1 of Part-1:
Restriction e) is changed to:
e) The expression of formal parameter’s default value has to be compatible with the type of the parameter. The expression may be any expression that is well-defined at the beginning of the scope of the parameterized entity, but shall not refer to other parameters of the same or any following parameter list.
Clause 5.4.1.2 Formal parameters of kind template
Restriction d) is changed to:
d) The default template instance has to be compatible with the type of the parameter. The template instance may be any template expression that is well-defined at the beginning of the scope of the parameterized entity, but shall not refer to other parameters in the same or any following parameter list.

Tags | No tags attached.

Relationships

related to | 0007294 | closed | Gyorgy Rethy | Part 01: TTCN-3 Core Language | default values/templates of formal parameters should live in the runs-on scope

Attached Files |

Issue History
Date Modified | Username | Field | Change
16-12-2016 19:50 | Gyorgy Rethy | New Issue |
16-12-2016 19:50 | Gyorgy Rethy | Status | new => assigned
16-12-2016 19:50 | Gyorgy Rethy | Assigned To | => Gyorgy Rethy
16-12-2016 19:53 | Gyorgy Rethy | Note Added: 0014451 |
16-12-2016 19:53 | Gyorgy Rethy | Status | assigned => closed
16-12-2016 19:53 | Gyorgy Rethy | Resolution | open => fixed
16-12-2016 19:53 | Gyorgy Rethy | Fixed in Version | => v1.6.1 (published 2017-04)
16-12-2016 22:32 | Gyorgy Rethy | Relationship added | related to 0007294

Notes

(0014451)
Gyorgy Rethy
16-12-2016 19:53

Restictions agreed in CR 7294, but related to this language extension has been added to draft V1.5.3