Add test for 'select' as an identifier

This commit is contained in:
Bruno BELANYI 2024-04-09 12:22:30 +01:00
parent ab6d235540
commit ddb4f693be

View file

@ -192,3 +192,26 @@ foo = select(some_unknown_type("CONDITION"), {
(interpreted_string_literal))
(interpreted_string_literal))
(ERROR))
================================================================================
Select as an identifier
================================================================================
select = 42
foo {
select: false,
}
--------------------------------------------------------------------------------
(source_file
(assignment
(identifier)
(operator)
(integer_literal))
(module
(identifier)
(property
(identifier)
(boolean_literal))))