mirror of
https://github.com/typst/typst
synced 2025-08-19 01:18:32 +08:00
Compare commits
2 Commits
ae97359fb3
...
254a849fec
Author | SHA1 | Date | |
---|---|---|---|
|
254a849fec | ||
|
067f62c778 |
@ -679,12 +679,7 @@ fn visit_grouping_rules<'a>(
|
|||||||
// by the show rule, and so on. The two must be at an equilibrium,
|
// by the show rule, and so on. The two must be at an equilibrium,
|
||||||
// otherwise either the "maximum show rule depth" or "maximum
|
// otherwise either the "maximum show rule depth" or "maximum
|
||||||
// grouping depth" errors are triggered.
|
// grouping depth" errors are triggered.
|
||||||
bail!(
|
bail!(content.span(), "maximum grouping depth exceeded");
|
||||||
content.span(),
|
|
||||||
"maximum realization iterations exceeded";
|
|
||||||
hint: "maybe there is a cycle between a show rule that produces content, \
|
|
||||||
which is matched by a grouping rule that triggers the show rule",
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,8 +260,7 @@ I am *strong*, I am _emphasized_, and I am #[special<special>].
|
|||||||
*strong*
|
*strong*
|
||||||
|
|
||||||
--- issue-5690-oom-par-box ---
|
--- issue-5690-oom-par-box ---
|
||||||
// Error: 3:6-5:1 maximum realization iterations exceeded
|
// Error: 3:6-5:1 maximum grouping depth exceeded
|
||||||
// Hint: 3:6-5:1 maybe there is a cycle between a show rule that produces content, which is matched by a grouping rule that triggers the show rule
|
|
||||||
#show par: box
|
#show par: box
|
||||||
|
|
||||||
Hello
|
Hello
|
||||||
|
Loading…
x
Reference in New Issue
Block a user