ETSI's Bug Tracker - Ext Pack: Object-oriented features (ES 203 790)
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0007831 | Ext Pack: Object-oriented features (ES 203 790) | [All Projects] General | public | 30-03-2019 16:05 | 09-01-2020 16:04

Reporter | KristÃ³f Szabados |
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 |  |

Summary | 0007831: Clarification request for OO features (reaching super super class)

Description

Do I understand correctly that right now when I wish to reach the super class of a super class I can write this.
type class SubClass extends BaseClass {
public function f(in integer x) return integer {
return super.f(x) - 1;
}
}
type class @final FinalClass extends SubClass {
public function f(in integer x) return integer {
return super.super.f(x) + 1; // ???
// The way to reach BaseClass.f?
}
}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR7831.docx (126,856) 06-08-2019 15:17 http://oldforge.etsi.org/mantis/file_download.php?file_id=3820&type=bug CR7831-v2.docx (127,437) 07-08-2019 09:35 http://oldforge.etsi.org/mantis/file_download.php?file_id=3827&type=bug

Issue History
Date Modified | Username | Field | Change
30-03-2019 16:05 | KristÃ³f Szabados | New Issue |
06-08-2019 08:45 | Jacob Wieland - Spirent | Note Added: 0015366 |
06-08-2019 09:23 | KristÃ³f Szabados | Note Added: 0015369 |
06-08-2019 09:24 | KristÃ³f Szabados | Assigned To | => Jacob Wieland - Spirent
06-08-2019 09:24 | KristÃ³f Szabados | Status | new => assigned
06-08-2019 15:17 | Jacob Wieland - Spirent | File Added: CR7831.docx |
06-08-2019 15:17 | Jacob Wieland - Spirent | Note Added: 0015377 |
06-08-2019 15:17 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => KristÃ³f Szabados
06-08-2019 15:17 | Jacob Wieland - Spirent | Status | assigned => confirmed
07-08-2019 09:35 | KristÃ³f Szabados | File Added: CR7831-v2.docx |
07-08-2019 09:36 | KristÃ³f Szabados | Note Added: 0015391 |
07-08-2019 09:36 | KristÃ³f Szabados | Assigned To | KristÃ³f Szabados => Jacob Wieland - Spirent
07-08-2019 09:36 | KristÃ³f Szabados | Status | confirmed => assigned
07-08-2019 12:02 | Jacob Wieland - Spirent | Note Added: 0015395 |
07-08-2019 12:02 | Jacob Wieland - Spirent | Status | assigned => resolved
07-08-2019 12:02 | Jacob Wieland - Spirent | Resolution | open => fixed
07-08-2019 12:02 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Jens Grabowski
09-01-2020 16:04 | Jens Grabowski | Status | resolved => closed

Notes

(0015366)
Jacob Wieland - Spirent
06-08-2019 08:45

So far, this was not an intended semantical use. This should be discussed.

(0015369)
KristÃ³f Szabados
06-08-2019 09:23

STF discussion: super.super should not be allowed (only allow reaching first visible class, not deeper).

(0015377)
Jacob Wieland - Spirent
06-08-2019 15:17

please review

(0015391)
KristÃ³f Szabados
07-08-2019 09:36

updated the functionref in the BNF. Please check.

(0015395)
Jacob Wieland - Spirent
07-08-2019 12:02

changes are ok