summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/delayed-error.typ
blob: eff6b85baea794fd40d1293951779fb126505364 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Test that errors in show rules are delayed: There can be multiple at once.

---
// Error: 21-34 panicked with: "hey1"
#show heading: _ => panic("hey1")

// Error: 20-33 panicked with: "hey2"
#show strong: _ => panic("hey2")

= Hello
*strong*