Integrate type checking into context dependency analysis

This commit is contained in:
Dennis Kobert
2025-09-18 10:20:32 +02:00
parent e73e524f3d
commit 7d3efffdac
8 changed files with 113 additions and 54 deletions

View File

@@ -377,7 +377,7 @@ impl NodeRuntime {
assert_eq!(scoped_network.exports.len(), 1, "Graph with multiple outputs not yet handled");
let c = Compiler {};
let proto_network = match c.compile_single(scoped_network) {
let proto_network = match c.compile_single(scoped_network, self.executor.typing_context_mut()) {
Ok(network) => network,
Err(e) => return Err((ResolvedDocumentNodeTypesDelta::default(), e)),
};