add test for nested records

pull/625/head^2
Nikolaj Sidorenco 2024-04-17 16:41:03 +07:00
parent 4e5fc13824
commit 2bebb411e2
No known key found for this signature in database
1 changed files with 36 additions and 0 deletions

@ -1238,6 +1238,42 @@ do
(long_identifier
(identifier))))))))))
================================================================================
nested record expression
================================================================================
do
{ A = { B = 0
C = 1 }
D = 2 }
--------------------------------------------------------------------------------
(file
(value_declaration
(do
(brace_expression
(field_expression
(field_initializers
(field_initializer
(long_identifier
(identifier))
(brace_expression
(field_expression
(field_initializers
(field_initializer
(long_identifier
(identifier))
(const (int)))
(field_initializer
(long_identifier
(identifier))
(const (int)))))))
(field_initializer
(long_identifier
(identifier))
(const (int)))))))))
================================================================================
SeqBlock with line comment
================================================================================