summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/let.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-30 09:48:30 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-30 09:48:30 +0100
commit68c6160a14be4e77b98cd704d9e641a03aefa332 (patch)
tree3eb0d02bf16e62cf43b7e5426126934b4ce7fbf2 /tests/typ/compiler/let.typ
parenta12bc3a797c1a29ef223c9e8be6c52cc4e748a02 (diff)
Recursion with max depth
Diffstat (limited to 'tests/typ/compiler/let.typ')
-rw-r--r--tests/typ/compiler/let.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/let.typ b/tests/typ/compiler/let.typ
index c3be64a5..d4f9510a 100644
--- a/tests/typ/compiler/let.typ
+++ b/tests/typ/compiler/let.typ
@@ -11,8 +11,8 @@
// Syntax sugar for function definitions.
#let fill = conifer
-#let rect(body) = rect(width: 2cm, fill: fill, inset: 5pt, body)
-#rect[Hi!]
+#let f(body) = rect(width: 2cm, fill: fill, inset: 5pt, body)
+#f[Hi!]
---
// Termination.