Fix incorrect inheritance loop warning in some rare cases with generics, closes #281
Merge pull request #461 from Gama11/HaxeInheritanceLoop

Fix incorrect inheritance loop warning in some rare cases with generics, closes #281