From af0ec16ad1bb0474e06e62edfeeace28db0ec488 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Thu, 12 Dec 2024 00:22:21 -0500 Subject: [PATCH] test: Add test for SIP-62 for **Problem/Solution** This add a test for SIP-62, which allows for comprehension that starts with an alias. --- test/corpus/expressions.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/corpus/expressions.txt b/test/corpus/expressions.txt index 6c5613f9..f1297115 100644 --- a/test/corpus/expressions.txt +++ b/test/corpus/expressions.txt @@ -1473,6 +1473,7 @@ def f(): Unit = for n <- nums yield n + 1 for + a = 1 x <- xs y <- ys yield @@ -1502,6 +1503,9 @@ def f(): Unit = (integer_literal))) (for_expression (enumerators + (enumerator + (identifier) + (integer_literal)) (enumerator (identifier) (identifier))