From 6022b64e9c0d17939bc0f0c54828da762896cbdf Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Sat, 27 Apr 2024 11:09:34 +0900 Subject: [PATCH] fix: compile errors --- package/origlang-cli/src/task/repl.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/origlang-cli/src/task/repl.rs b/package/origlang-cli/src/task/repl.rs index c18712ad..5ace4ce7 100644 --- a/package/origlang-cli/src/task/repl.rs +++ b/package/origlang-cli/src/task/repl.rs @@ -17,6 +17,8 @@ use origlang_typesystem_model::TypedRootAst; struct Dummy((), Source); impl ariadne::Cache<()> for Dummy { + type Storage = String; + fn fetch(&mut self, _id: &()) -> Result<&Source, Box> { Ok(&self.1) }