# Definition in circular inheritance

**URL:** <https://forum.kirupa.com/t/definition-in-circular-inheritance/322605>\
**Category:** Uncategorized\
**Created:** [May 26, 2011, 9:04pm UTC](https://forum.kirupa.com/t/definition-in-circular-inheritance/322605 "2011-05-26T21:04:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhnh](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@bhnh](https://forum.kirupa.com/u/bhnh)\
**Post date:** [May 26, 2011, 9:04pm UTC](https://forum.kirupa.com/t/definition-in-circular-inheritance/322605/1 "2011-05-26T21:04:26Z")

</div>

I have a custom class, we’ll call it **EntryField** , which extends another custom class **FieldBase**.

I want to extend the EntryField.

```auto

package com.myClasses.fields{
   import flash.display.*;
   import flash.text.*;
   import flash.events.*;
   import com.myClasses.fields.EntryField;
   
   public class SpecialEntryField extends EntryField{
      public function SpecialEntryField(){
         //
      }
   }
}

```

When I run this I get the error _The definition is in circular inheritance._ I’ve extended classes more times than I care to count, but I’ve never seen this. Can anyone offer me some enlightenment?

Many thanks.
