Closed nordlow closed 1 month ago
That's incorrect.
Here's a test case (and it passes current master):
================================================================================
If declaration as conditional
================================================================================
unittest {
if (auto x = testit) { }
}
--------------------------------------------------------------------------------
(source_file
(unittest_declaration
(unittest)
(block_statement
(if_statement
(if)
(if_condition
(auto)
(identifier)
(expression
(identifier)))
(scope_statement
(block_statement))))))
If you think this should be represented by some other grammar please provide information. Otherwise I'll close as not a bug.
Ok, thanks at lot.
Constructs such as
are currently not recognized.