Proposed AST for:
uint [ 7 ] x;
{
"type": "StateVariableDeclaration",
"name": "x",
"literal": {
"type": "Type",
"literal": "uint",
"members": [],
"array_parts": [
7
],
"start": 8029,
"end": 8039
},
"visibility": null,
"is_constant": false,
"value": null,
"start": 8029,
"end": 8042
}
Current AST for:
uint[7] x;
{
"type": "StateVariableDeclaration",
"name": "x",
"literal": {
"type": "Type",
"literal": "uint",
"members": [],
"array_parts": [
7
],
"start": 8029,
"end": 8036
},
"visibility": null,
"is_constant": false,
"value": null,
"start": 8029,
"end": 8039
}