PR# 17397 Repeated Inheritance and Select

Problem Report Summary
Submitter: glaikitt
Category: Compiler
Priority: High
Date: 2011/03/04
Class: Bug
Severity: Serious
Number: 17397
Release: 6.7
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Synopsis: Repeated Inheritance and Select

Description
Attached is the Teaching Assistant example used to demonstrate Repeated Inheritance.

In the debugger, the fields student_account, faculty_account, and computer_account have the expected values, but printing both {Teaching_Assistant}.faculty_account and {Teaching_Assistant}.student_account displays the same value viz. {Teaching_Assistant}.faculty_account, surely the student_account value should be usedwhen there is no ambiguity, and the SELECTed value be used when there is ambiguity in a polymorphic call.
To Reproduce
Compile and run files attached.
Problem Report Interactions
From:glaikitt    Date:2011/03/04    Download   
Attachments for problem report #17397

Attachment: Repeated_Inheritance_Safe.zip     Size:2866