Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik committed Oct 10, 2023
1 parent 0102823 commit abdc4e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ impl Analysis {

analysis.analyze_definitions();
analysis.analyze_references();

// TODO: re-enable this once grammar is complete:
if std::env::var("CODEGEN_REACHABILITY_ANALYSIS").is_ok() {
analysis.analyze_reachability();
}
analysis.analyze_reachability();

return analysis;
}
Expand Down
4 changes: 4 additions & 0 deletions crates/solidity/inputs/language/src/definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,12 @@ codegen_language_macros::compile!(
name = UsingDeconstructionFields,
separated = UsingDeconstructionField,
separator = Comma,
enabled_in = "0.8.13",
allow_empty = true
),
Struct(
name = UsingDeconstructionField,
enabled_in = "0.8.13",
fields = (
name = Single(Rule(IdentifierPath)),
alias =
Expand Down Expand Up @@ -2389,6 +2391,8 @@ codegen_language_macros::compile!(
Repeated(
name = NamedArgumentsDeclarations,
repeated = NamedArgumentsDeclaration,
enabled_in = "0.6.2",
disabled_in = "0.8.0",
allow_empty = true
),
Struct(
Expand Down

0 comments on commit abdc4e1

Please sign in to comment.