Skip to content

Commit

Permalink
fix: Correct a typo in the inheritence field
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed May 27, 2024
1 parent 46b1dde commit 28158c3
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions crates/solidity/inputs/language/src/definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2079,7 +2079,7 @@ codegen_language_macros::compile!(Language(
Optional(reference = AbstractKeyword, enabled = From("0.6.0")),
contract_keyword = Required(ContractKeyword),
name = Required(Identifier),
inheritence = Optional(reference = InheritanceSpecifier),
inheritance = Optional(reference = InheritanceSpecifier),
open_brace = Required(OpenBrace),
members = Required(ContractMembers),
close_brace = Required(CloseBrace)
Expand Down Expand Up @@ -2156,7 +2156,7 @@ codegen_language_macros::compile!(Language(
fields = (
interface_keyword = Required(InterfaceKeyword),
name = Required(Identifier),
inheritence = Optional(reference = InheritanceSpecifier),
inheritance = Optional(reference = InheritanceSpecifier),
open_brace = Required(OpenBrace),
members = Required(InterfaceMembers),
close_brace = Required(CloseBrace)
Expand Down

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

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

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

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Tree:
- (contract_keyword꞉ ContractKeyword): "contract" # (0..8)
- (leading_trivia꞉ Whitespace): " " # (8..9)
- (name꞉ Identifier): "Sample" # (9..15)
- (inheritence꞉ InheritanceSpecifier): # " is Foo, Bar(1, 2), Baz" (15..38)
- (inheritance꞉ InheritanceSpecifier): # " is Foo, Bar(1, 2), Baz" (15..38)
- (leading_trivia꞉ Whitespace): " " # (15..16)
- (is_keyword꞉ IsKeyword): "is" # (16..18)
- (types꞉ InheritanceTypes): # " Foo, Bar(1, 2), Baz" (18..38)
Expand Down

0 comments on commit 28158c3

Please sign in to comment.