withIsTarget returns a copy of the Module with the specified target value. Do not expose publicly! This should only be called by ModuleSet.WithTargetOpaqueIDs. Exposing this directly publicly can have unintended consequences - Modules have a parent ModuleSet, which is self-contained, and a copy of
(isTarget bool)
| 195 | // parent ModuleSet, which is self-contained, and a copy of a Module inside a ModuleSet |
| 196 | // that itself has the same ModuleSet will break the expected pattern of the references. |
| 197 | withIsTarget(isTarget bool) (Module, error) |
| 198 | isModule() |
| 199 | } |
| 200 |
no outgoing calls
no test coverage detected