lang/eval: Re-export evalglue.UncompiledModule

We currently re-export evalglue.ExternalModules, but the method in that
interface requires returning evalglue.UncompiledModule and so we need to
export that too or else it's impossible to actually implement the interface
from outside this family of packages.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
Martin Atkins
2025-11-20 11:28:07 -08:00
parent ae60da8e7c
commit 02f48f7b32

View File

@@ -23,6 +23,7 @@ type EvalContext = evalglue.EvalContext
type Providers = evalglue.Providers
type Provisioners = evalglue.Provisioners
type ExternalModules = evalglue.ExternalModules
type UncompiledModule = evalglue.UncompiledModule
func ModulesForTesting(modules map[addrs.ModuleSourceLocal]*configs.Module) ExternalModules {
// This one actually lives in tofu2024 because evalglue isn't allowed to