From 442bc3df9692edde632e3a1d7217e861bf85fd81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 20 Sep 2025 22:03:52 +0200 Subject: Pass call stack info through function application Changelog: Show call stack in error messages --- test/asset/run/callstack.et | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/asset/run') diff --git a/test/asset/run/callstack.et b/test/asset/run/callstack.et index f500fb6..9e8123b 100644 --- a/test/asset/run/callstack.et +++ b/test/asset/run/callstack.et @@ -6,3 +6,18 @@ test AE: spawn as p let x = 2 expect /$x/ from p timeout 0.0 + +def fg: + let x = 1 + guard (x == 0) + +test BG: + fg + +def gg (x): + let y = 2 + guard (x == y) + +test CG: + let z = 3 + gg (z) -- cgit v1.2.3