typst-0.1.0.0: test/typ/compiler/break-continue-02.typ
// Test continue.
#let i = 0
#let x = 0
#while x < 8 {
i += 1
if calc.rem(i, 3) == 0 {
continue
}
x += i
}
// If continue did not work, this would equal 10.
#test(x, 12)
// Test continue.
#let i = 0
#let x = 0
#while x < 8 {
i += 1
if calc.rem(i, 3) == 0 {
continue
}
x += i
}
// If continue did not work, this would equal 10.
#test(x, 12)