mirror of
https://github.com/typst/typst
synced 2025-08-23 11:14:13 +08:00
Compare commits
No commits in common. "254a849fec3d1f9ae95b628dad6481cfa6619df6" and "ae97359fb34288cba8f17f95481210a37cad6227" have entirely different histories.
254a849fec
...
ae97359fb3
@ -679,7 +679,12 @@ 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!(content.span(), "maximum grouping depth exceeded");
|
bail!(
|
||||||
|
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,7 +260,8 @@ 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 grouping depth exceeded
|
// Error: 3:6-5:1 maximum realization iterations 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