From 134d3ac4caff6d87c79b0892e57073594cb0064c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 9 Oct 2026 14:43:11 +0200 Subject: Remove Pointer and nil support --- tools/tree-sitter/test/corpus/generic_export.txt | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tools/tree-sitter/test/corpus/generic_export.txt (limited to 'tools/tree-sitter/test/corpus/generic_export.txt') diff --git a/tools/tree-sitter/test/corpus/generic_export.txt b/tools/tree-sitter/test/corpus/generic_export.txt new file mode 100644 index 0000000..52e767e --- /dev/null +++ b/tools/tree-sitter/test/corpus/generic_export.txt @@ -0,0 +1,53 @@ +================== +generic_export +================== + +module + +type + Stack#[T]* = record + item: ^T + end + +proc push#[T]*(s: ^Stack#[T]; item: ^T) +return + +end. + +--- + +(source_file + (module_declaration + (type_section + (type_declaration + (identifier_definition + (identifier) + (type_parameters + (identifier))) + (record_type + (field_declaration + (field_identifier + (identifier)) + (pointer_type + (identifier)))))) + (procedure_declaration + (identifier_definition + (identifier) + (type_parameters + (identifier))) + (parameter_list + (field_declaration + (field_identifier + (identifier)) + (pointer_type + (generic_type + (identifier) + (type_arguments + (identifier))))) + (field_declaration + (field_identifier + (identifier)) + (pointer_type + (identifier)))) + (procedure_body + (return_clause))))) -- cgit v1.2.3