ETSI's Bug Tracker - Ext Pack: Object-oriented features (ES 203 790)
View Issue Details
0007831Ext Pack: Object-oriented features (ES 203 790)[All Projects] Generalpublic30-03-2019 16:0509-01-2020 16:04
Kristóf Szabados 
Jens Grabowski 
normalminorhave not tried
closedfixed 
0007831: Clarification request for OO features (reaching super super class)
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?
  }
}
No tags attached.
docx CR7831.docx (126,856) 06-08-2019 15:17
http://oldforge.etsi.org/mantis/file_download.php?file_id=3820&type=bug
docx 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
30-03-2019 16:05Kristóf SzabadosNew Issue
06-08-2019 08:45Jacob Wieland - SpirentNote Added: 0015366
06-08-2019 09:23Kristóf SzabadosNote Added: 0015369
06-08-2019 09:24Kristóf SzabadosAssigned To => Jacob Wieland - Spirent
06-08-2019 09:24Kristóf SzabadosStatusnew => assigned
06-08-2019 15:17Jacob Wieland - SpirentFile Added: CR7831.docx
06-08-2019 15:17Jacob Wieland - SpirentNote Added: 0015377
06-08-2019 15:17Jacob Wieland - SpirentAssigned ToJacob Wieland - Spirent => Kristóf Szabados
06-08-2019 15:17Jacob Wieland - SpirentStatusassigned => confirmed
07-08-2019 09:35Kristóf SzabadosFile Added: CR7831-v2.docx
07-08-2019 09:36Kristóf SzabadosNote Added: 0015391
07-08-2019 09:36Kristóf SzabadosAssigned ToKristóf Szabados => Jacob Wieland - Spirent
07-08-2019 09:36Kristóf SzabadosStatusconfirmed => assigned
07-08-2019 12:02Jacob Wieland - SpirentNote Added: 0015395
07-08-2019 12:02Jacob Wieland - SpirentStatusassigned => resolved
07-08-2019 12:02Jacob Wieland - SpirentResolutionopen => fixed
07-08-2019 12:02Jacob Wieland - SpirentAssigned ToJacob Wieland - Spirent => Jens Grabowski
09-01-2020 16:04Jens GrabowskiStatusresolved => 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