pub(crate) fn with<R>(f: impl FnOnce(&dyn CompilerInterface) -> R) -> R
Expand description
Execute the given function with access the CompilerInterface
.
I.e., This function will load the current interface and calls a function with it. Do not nest these, as that will ICE.