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 {
|
2014-07-19 02:30:06 +02:00
|
|
|
~~~~~~~~~~~~~
|
2014-07-13 01:04:16 +02:00
|
|
|
!!! Type 'b2CircleShape' recursively references itself as a base type.
|
2014-07-19 02:30:06 +02:00
|
|
|
}
|
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 {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|