From 8113ecc19a3baadbb4b726a9259ca156f6a33c17 Mon Sep 17 00:00:00 2001 From: Michael Netshipise Date: Wed, 13 May 2026 11:24:37 +0200 Subject: [PATCH] test: move @let test out of known_bugs @let parses correctly now (fix landed in 083e394). Moving the test into control_flow.txt alongside the other @-construct tests and removing the now-empty known_bugs.txt. Co-Authored-By: Claude Opus 4.7 (1M context) --- test/corpus/control_flow.txt | 25 +++++++++++++++++++++++++ test/corpus/known_bugs.txt | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 test/corpus/known_bugs.txt diff --git a/test/corpus/control_flow.txt b/test/corpus/control_flow.txt index 94462cb..6020395 100644 --- a/test/corpus/control_flow.txt +++ b/test/corpus/control_flow.txt @@ -148,3 +148,28 @@ (attribute_or_control (html_attribute (attribute_name)))))))))))) +================== +@let statement +================== + +@fn calc() { @let n = 42; } + +--- + +(template + (template_element + (function_definition + (identifier) + (parameter_list) + (content_block + (template_node + (template_control_flow + (let_statement + (simple_pattern + (identifier_pattern + (identifier))) + (expression + (primary_expression + (literal + (number_literal + (integer_literal)))))))))))) diff --git a/test/corpus/known_bugs.txt b/test/corpus/known_bugs.txt deleted file mode 100644 index 585fdb1..0000000 --- a/test/corpus/known_bugs.txt +++ /dev/null @@ -1,25 +0,0 @@ -================== -@let statement -================== - -@fn calc() { @let n = 42; } - ---- - -(template - (template_element - (function_definition - (identifier) - (parameter_list) - (content_block - (template_node - (template_control_flow - (let_statement - (simple_pattern - (identifier_pattern - (identifier))) - (expression - (primary_expression - (literal - (number_literal - (integer_literal))))))))))))