TypeScript/tests/baselines/reference/recursiveBaseCheck2.errors.txt

19 lines
759 B
Plaintext
Raw Normal View History

tests/cases/compiler/recursiveBaseCheck2.ts(2,18): error TS2310: Type 'b2CircleShape' recursively references itself as a base type.
2014-07-13 01:04:16 +02:00
==== 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.
}
2014-07-13 01:04:16 +02:00
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 {
}
}