PR# 15040 Attachment with non-conforming inheritance
Problem Report Summary
Submitter: clemahieu
Category: Compiler
Priority: Medium
Date: 2008/11/23
Class: Bug
Severity: Serious
Number: 15040
Release: 6.3.7.5660
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Synopsis: Attachment with non-conforming inheritance
Description
class A inherit {NONE} MEMORY_STRUCTURE feature structure_size: INTEGER is 16 end This class when compiled with 5660 has three compilation errors: Target of the Object_call is not attached Class: A Source class: ANY Feature: print Type: STD_FILES Line: 313 if some /= Void then ie.put_string (some.out) end A similar error with generating_type and generator. The same errors come up with the class: class A inherit ANY inherit {NONE} MEMORY_STRUCTURE feature structure_size: INTEGER is 16 end The errors go away when not using non-conforming inheritance. class A inherit MEMORY_STRUCTURE feature structure_size: INTEGER is 16 end
To Reproduce
Problem Report Interactions
Workaround doesn't work. See 15093