Skip to content

Commit 277ab52

Browse files
committed
Address PR comments
1 parent d569001 commit 277ab52

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

crates/pcb-zen-core/src/lang/eval.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ pub struct EvalOutput {
8585
pub signature: Vec<ParameterInfo>,
8686
/// Print output collected during evaluation
8787
pub print_output: Vec<String>,
88-
/// Resolution result from dependency resolution
89-
pub resolution: Arc<ResolutionResult>,
9088
/// Eval config (file provider, path specs, etc.)
9189
pub config: EvalContextConfig,
9290
/// Session keeps the frozen heap alive for the lifetime of this output.
@@ -1320,7 +1318,6 @@ impl EvalContext {
13201318
sch_module: extra.module.clone(),
13211319
signature,
13221320
print_output,
1323-
resolution: config_ref.resolution.clone(),
13241321
config: config_ref.clone(),
13251322
session: session_ref.clone(),
13261323
};

crates/pcb-zen/src/lsp/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ impl FileProvider for OverlayFileProvider {
103103
fn canonicalize(&self, path: &Path) -> Result<PathBuf, FileProviderError> {
104104
self.base.canonicalize(path)
105105
}
106+
107+
fn cache_dir(&self) -> std::path::PathBuf {
108+
self.base.cache_dir()
109+
}
106110
}
107111

108112
/// Create a load resolver rooted at `workspace_root` with optional dependency resolution.

0 commit comments

Comments
 (0)