(builder: TypeGraphBuilder, t: TypeRef)
| 123 | // the properties of `Bar`, but to resolve those we have to |
| 124 | // know the properties of `Foo`. |
| 125 | function getHopefullyFinishedType(builder: TypeGraphBuilder, t: TypeRef): Type { |
| 126 | const result = builder.lookupType(t); |
| 127 | if (result === undefined) { |
| 128 | return panic("Inconveniently recursive types in schema"); |
| 129 | } |
| 130 | return result; |
| 131 | } |
| 132 | |
| 133 | function assertIsClass(t: Type): ClassType { |
| 134 | if (!(t instanceof ClassType)) { |
no test coverage detected
searching dependent graphs…