19 lines
No EOL
759 B
Text
19 lines
No EOL
759 B
Text
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 {
|
|
}
|
|
}
|
|
|