* Sets used in unknown way. * @param {RuntimeSpec} runtime the runtime * @returns {boolean} true, when something changed
(runtime)
| 480 | * @returns {boolean} true, when something changed |
| 481 | */ |
| 482 | setUsedInUnknownWay(runtime) { |
| 483 | let changed = false; |
| 484 | for (const exportInfo of this._exports.values()) { |
| 485 | if (exportInfo.setUsedInUnknownWay(runtime)) { |
| 486 | changed = true; |
| 487 | } |
| 488 | } |
| 489 | if (this._redirectTo !== undefined) { |
| 490 | if (this._redirectTo.setUsedInUnknownWay(runtime)) { |
| 491 | changed = true; |
| 492 | } |
| 493 | } else if (this._otherExportsInfo.setUsedInUnknownWay(runtime)) { |
| 494 | changed = true; |
| 495 | } |
| 496 | return changed; |
| 497 | } |
| 498 | |
| 499 | /** |
| 500 | * Sets used without info. |
nothing calls this directly
no test coverage detected