TypeScript/tests/baselines/reference/recursiveBaseCheck2.errors.txt
2014-09-12 13:35:07 -07:00

19 lines
759 B
Plaintext

tests/cases/compiler/recursiveBaseCheck2.ts(2,18): error TS2310: Type 'b2CircleShape' recursively references itself as a base type.
==== tests/cases/compiler/recursiveBaseCheck2.ts (1 errors) ====
declare module Box2D.Collision.Shapes {
export class b2CircleShape extends b2Shape {
~~~~~~~~~~~~~
!!! error TS2310: Type 'b2CircleShape' recursively references itself as a base type.
}
export class b2Shape extends Box2D.Collision.Shapes.b2CircleShape {
}
}
declare module Box2D.Dynamics {
export class b2ContactListener extends Box2D.Collision.Shapes.b2Shape {
}
export class b2FixtureDef extends Box2D.Dynamics.b2ContactListener {
}
}