typst/tests/typ/compiler/delayed-error.typ
2024-02-05 09:56:09 +00:00

12 lines
245 B
Typst

// Test that errors in show rules are delayed: There can be multiple at once.
---
// Error: 26-34 panicked with: "hey1"
#show heading: _ => panic("hey1")
// Error: 25-33 panicked with: "hey2"
#show strong: _ => panic("hey2")
= Hello
*strong*