mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
15 lines
215 B
XML
15 lines
215 B
XML
// Test break and continue in loops.
|
|
// Ref: false
|
|
|
|
---
|
|
#for i in range(10) {
|
|
if i > 5 {
|
|
// Error: 5-10 break is not yet implemented
|
|
break
|
|
}
|
|
}
|
|
|
|
---
|
|
// Error: 1-10 unexpected keyword `continue`
|
|
#continue
|