Skip to content

Commit

Permalink
Merge pull request #346 from KisaragiEffective/renovate/ariadne-0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Apr 27, 2024
2 parents 6e7a7a8 + 6022b64 commit bb7223c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package/origlang-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ thiserror = "1.0.59"
origlang-compiler = { path = "../origlang-compiler" }
origlang-typesystem-model = { path = "../origlang-typesystem-model" }
origlang-runtime = { path = "../origlang-runtime" }
ariadne = "0.3.0"
ariadne = "0.4.1"
origlang-platform = { path = "../origlang-platform" }
origlang-ast = { path = "../origlang-ast" }
strum = { version = "0.26.2", features = ["derive"] }
Expand Down
2 changes: 2 additions & 0 deletions package/origlang-cli/src/task/repl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn Debug + '_>> {
Ok(&self.1)
}
Expand Down

0 comments on commit bb7223c

Please sign in to comment.