From 44d8028b49d6aa954519ce5f9e84eb5816bda2e9 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 30 Jun 2021 22:49:11 +0200 Subject: Allow wide calls only directly in templates --- tests/typ/code/call-wide.typ | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'tests/typ/code') diff --git a/tests/typ/code/call-wide.typ b/tests/typ/code/call-wide.typ index 2bb6d82e..54da540b 100644 --- a/tests/typ/code/call-wide.typ +++ b/tests/typ/code/call-wide.typ @@ -12,32 +12,25 @@ C --- // Test evaluation semantics. -// Ref: false -#let r #let x = 1 #let f(x, body) = (x, body) - -[ - { r = f!(x) } - { x = 2 } -] - -#test(repr(r), "(1,