Compile Time Error – The definition is in circular inheritance

I just thought I would post this compile time error solution in the hope it saves others some time. It was basically stupidity on my part but it took me 5 minutes to see what I had done. Googling the error also brought up a number of irrelevant issues….

Basically at compile time I was getting this error – The definition is in circular inheritance – I had a library symbol linked to a class com.foo.ToolbarPH. This class was a subclass of the superclass com.foo.Toolbar. My mistake was that I hadn’t noticed that the library symbol main class in the object properties had been autonamed to Toolbar and this is what was throwing the error and causing the problems. Solution – rename the class in the library properties. Simple.

Advertisements

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: