From 1df621868fda1aae193405057f69c3187debbae2 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 13 May 2022 16:39:41 +0200 Subject: Fix control flow bug --- tests/typ/code/break-continue.typ | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/typ/code') diff --git a/tests/typ/code/break-continue.typ b/tests/typ/code/break-continue.typ index 02c221a4..2415cb8f 100644 --- a/tests/typ/code/break-continue.typ +++ b/tests/typ/code/break-continue.typ @@ -134,3 +134,14 @@ set text(blue, ..break) [Not happening] } + +--- +// Test second block during break flow. +// Ref: true + +#for i in range(10) { + table( + { [A]; break }, + for _ in range(3) [B] + ) +} -- cgit v1.2.3