Legacy TupleExpression
processor is unable to unnest single tuple element
#52
Labels
TupleExpression
processor is unable to unnest single tuple element
#52
Environment
Any
Scenario
sample.sol
with following contents:Expected behavior
Expected to get short AST tree description.
Current behavior
Got following error:
Description
Legacy
TupleExpression
processor is fragile: it not supports tuple unnesting. When we have a single member in tuple, like((1))
, Solidity unnest it by default to1
. Same applies to nested tuple expressions, like in example above.Regards.
The text was updated successfully, but these errors were encountered: