mirror of
https://github.com/github/semantic.git
synced 2025-01-03 21:16:12 +03:00
d9f88fc046
Due to the problems outlined in #245, the tests for return statements were complicated and not testing useful properties. This patch adds a new `CHECK-TREE` directive which lets you embed a Core expression as a string, which is parsed and then compared against the result of compiling the containing module.
4 lines
53 B
Python
4 lines
53 B
Python
# CHECK-JQ: .scope == {}
|
|
# CHECK-TREE: #record {}
|
|
()
|