- Remove
ParameterList
andParameter
node types. Parameters are now always of typeVariableDeclaration
and lists of parameters are represented as lists of nodes of typeVariableDeclaration
. This is a breaking change.
- Fix type name expressions to also support user-defined type names.
- Bugfix release
- Fix parsing of inheritance specifier with no arguments.
- Fix parsing of string literals with escaped characters.
- Fix parsing of underscores in number literals.
- Add support for the
type
keyword. - Add support for underscores in number literals.
- Improve TypeScript type definitions.
- Add missing
storageLocation
to variables in VariableDeclarationStatement. - Return
null
forarguments
instead of[]
whenModifierInvocation
contains no arguments and no parentheses to distinguish the two cases. - Improve TypeScript type definitions.
- Improve TypeScript type definitions, thanks @Leeleo3x and @yxliang01.
- Fix parsing of assembly function definitions with no args or return args.
- Fix parsing of for loops with missing initial and condition statements.
- Correctly handle non-existent tuple components. Thanks @maxsam4
- Accept calldata as identifier
- Add support for
address payable
typename.
- Fix parsing of hex numbers with uppercase X.
- Fix parsing of zero-component tuples.
- Use
components
for allTupleExpression
nodes. Earlier versions incorrectly stored tuple components under theelements
key. - Fix parsing of decimal literals without integer part.