Sitelet https://github.com/foundry-rs/compilers/commit/ac912e57f6bf57c28aec2763a15ec29ae4049e91
Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Commit ac912e5

Browse files
authored
fix: default Solidity language string (#28)
1 parent 297aefd commit ac912e5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/artifacts/mod.rs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,11 @@ pub(crate) type VersionedFilteredSources = BTreeMap<Solc, (Version, FilteredSour
5353
const SOLIDITY: &str = "Solidity";
5454
const YUL: &str = "Yul";
5555

56-
///
57-
/// Default `language` field is set to `"SOLIDITY"`.
58-
/// This indicates the language used for the compiler input is Solidity.
56+
/// Default `language` field is set to `"Solidity"`.
5957
impl Default for CompilerInput {
6058
fn default() -> Self {
6159
CompilerInput {
62-
language: "SOLIDITY".to_string(),
60+
language: SOLIDITY.to_string(),
6361
sources: Sources::default(),
6462
settings: Settings::default(),
6563
}

0 commit comments

Comments
 (0)