summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/repr.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-09-11 14:42:43 +0200
committerLaurenz <laurmaedje@gmail.com>2023-09-11 14:42:43 +0200
commit305524d005df075d53575552ee090fb53192a3fe (patch)
tree08b739e8fc41057b79a2d7ea7a7208ca358d60b3 /tests/typ/compiler/repr.typ
parentb471ac7d590abd2398ce25193b4e4df373bf2e9c (diff)
Update tests for type system changes
Diffstat (limited to 'tests/typ/compiler/repr.typ')
-rw-r--r--tests/typ/compiler/repr.typ12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/typ/compiler/repr.typ b/tests/typ/compiler/repr.typ
index cfe428eb..13593a86 100644
--- a/tests/typ/compiler/repr.typ
+++ b/tests/typ/compiler/repr.typ
@@ -37,9 +37,13 @@
// Content.
#raw(lang: "typc", repr[*Hey*])
-// Functions are invisible.
-Nothing
+// Functions.
#let f(x) = x
-#f
-#rect
+#f \
+#rect \
#(() => none)
+
+// Types.
+#int \
+#type("hi") \
+#type((a: 1))