Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: update solang-parser (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Apr 9, 2023
1 parent a4bee08 commit 63a62aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 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 ethers-solc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ all-features = true
[dependencies]
ethers-core.workspace = true

solang-parser = { version = "=0.2.3", default-features = false }
solang-parser = { version = "=0.2.4", default-features = false }

serde = { workspace = true, features = ["derive", "rc"] }
serde_json.workspace = true
Expand Down
3 changes: 1 addition & 2 deletions ethers-solc/src/resolver/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ impl SolData {
}

if pragma.name == "experimental" {
experimental =
Some(SolDataUnit::from_loc(value.string.clone(), loc));
experimental = Some(SolDataUnit::from_loc(value.string, loc));
}
}
SourceUnitPart::ImportDirective(import) => {
Expand Down

0 comments on commit 63a62aa

Please sign in to comment.