History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-626
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Mario Gutierrez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Cyclic inheritance error on interfaces

Created: 28/Nov/05 01:01 PM   Updated: 22/Aug/07 07:46 AM
Component/s: Compiler
Affects Version/s: 0.7.5
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File cycle.boo (0.4 kb)

Environment: Windows XP
Issue Links:
Related
 


 Description  « Hide
This code results in the following error:

cycle.boo(4,28): BCE0071: Inheritance cycle detected: 'IController'.

DefaultController implements IController for DefaultLayout.

-----------------[code]

internal interface IController:
def Execute() as string

internal interface ILayout(IController):
def Add(child as IController)

class DefaultLayout(DefaultController, ILayout):
def Add(child as IController):
pass

override def Execute() as ArrayList:
pass

class DefaultController(IController):
virtual def Execute() as ArrayList:
_layout.Add(self)
return _layout.Execute()



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mario Gutierrez - 28/Nov/05 01:04 PM
Same code as in description.

Rodrigo B. de Oliveira - 22/Aug/07 07:46 AM
I cant tackle it right now.