Hi,
I have following doubt regarding the procedure
reference for extended TYPE.
Please rescue !
Consider the following test case:
Type T1
INTEGER::aa
CONTAINS
PROCEDURE::proc1 => proc_T1
END TYPE T1
TYPE, EXTENDS(T1)::T2
INTEGER::bb
CONTAINS
PROCEDURE::proc1 => proc_T2 ! OVERRIDDEN proc1
EBD TYPE T2
TYPE(T2)::t22
CALL t22%proc1() ! FIRST CASE
CALL t22%T1%proc1() ! SECOND CASE
END
For "FIRST CASE", a Call to overridden procedure
"proc_T2" should be generated
But, for "SECOND CASE", please confirm whether a call
to "proc_T1" should be generated or it should be for
"proc_T2"
Thanks and best regards,
F2k3
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
|