Move "use" tests to "statements.txt" file

pull/844/head
Jonathan Arnett 2023-04-24 22:56:39 +07:00
parent 136eaebe7b
commit c9189c3974
2 changed files with 38 additions and 39 deletions

@ -94,42 +94,3 @@ case "12345" {
(case_clause_pattern
(discard)))
(string)))))
================================================================================
Use
================================================================================
use <- f()
use a <- f()
use a, b, c, d, e <- f()
use #(a, b) <- blah
--------------------------------------------------------------------------------
(source_file
(use
(function_call
(identifier)
(arguments)))
(use
(identifier)
(function_call
(identifier)
(arguments)))
(use
(identifier)
(identifier)
(identifier)
(identifier)
(identifier)
(function_call
(identifier)
(arguments)))
(use
(tuple_pattern
(identifier)
(identifier))
(identifier)))

@ -0,0 +1,38 @@
================================================================================
Use
================================================================================
use <- f()
use a <- f()
use a, b, c, d, e <- f()
use #(a, b) <- blah
--------------------------------------------------------------------------------
(source_file
(use
(function_call
(identifier)
(arguments)))
(use
(identifier)
(function_call
(identifier)
(arguments)))
(use
(identifier)
(identifier)
(identifier)
(identifier)
(identifier)
(function_call
(identifier)
(arguments)))
(use
(tuple_pattern
(identifier)
(identifier))
(identifier)))