| 8 | ) |
| 9 | |
| 10 | type Fusion struct { |
| 11 | Sctx *super.Context |
| 12 | Typ *super.TypeFusion |
| 13 | Values Any |
| 14 | // We materialize the the subtypes of the supertype |
| 15 | // only when needed to build a Dynamic from the fused type. |
| 16 | // This is typically not required for many operations, in which |
| 17 | // case the type IDs are never read from storage and the types |
| 18 | // are never built and entered into the context. |
| 19 | mu sync.Mutex |
| 20 | loader TypeLoader |
| 21 | subtypes []super.Type |
| 22 | } |
| 23 | |
| 24 | type TypeLoader interface { |
| 25 | Load() []super.Type |
nothing calls this directly
no outgoing calls
no test coverage detected