diff --git a/mlf-cli/src/generate/lexicon.rs b/mlf-cli/src/generate/lexicon.rs index 6f9f010..79177e7 100644 --- a/mlf-cli/src/generate/lexicon.rs +++ b/mlf-cli/src/generate/lexicon.rs @@ -88,11 +88,11 @@ pub fn run(input_patterns: Vec, output_dir: PathBuf, flat: bool) -> Resu let namespace = extract_namespace(&file_path); - // Create workspace with prelude for inline type resolution - let mut workspace = match mlf_lang::Workspace::with_prelude() { + // Create workspace with standard library for inline type resolution + let mut workspace = match mlf_lang::Workspace::with_std() { Ok(ws) => ws, Err(e) => { - errors.push((file_path.display().to_string(), format!("Failed to load prelude: {:?}", e))); + errors.push((file_path.display().to_string(), format!("Failed to load standard library: {:?}", e))); continue; } };