Branch: refs/heads/main
Revision: 2b41372
Author: arezaii
Link: dyno tests: add parsing tests for EmptyStmt node by arezaii · Pull Request #19580 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19580 from arezaii/empty-stmt-test
dyno tests: add parsing tests for EmptyStmt node
This PR adds a couple more tests for parsing an EmptyStmt
node.
It captures behavior currently exhibited and adds tests for
some specific patterns found in our test suite. Specifically:
- verify that an empty statement is captured in
while true do ;
- capture the behavior of a terminating semicolon in a proc definition:
likeproc foo();
- verify statement count == 2 in
cobegin { ; writeln['']; }
TESTING:
- [x]
test-dyno
-
it's just adding a few tests to
dyno
, full testing not neededModified Files:
M compiler/dyno/test/parsing/testParseEmptyStmt.cppCompare: Comparing 6f63d9def3b1...2b4137239ce7 · chapel-lang/chapel · GitHub