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

chore: update solang-parser #2334

Merged
merged 1 commit into from
Apr 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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