summaryrefslogtreecommitdiffhomepage
path: root/tests/02_runtime/04_switch_case
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-19 17:52:07 +0200
committerJo-Philipp Wich <jo@mein.io>2020-10-19 23:36:05 +0200
commit3edf942ac85a90707e57d9e251004459aa6b4cea (patch)
treec47c2068b22ecbe4683a76807ca6fbf266f34b0f /tests/02_runtime/04_switch_case
parent1149ffa23be8ff4059f75068c9e36cfda52a71f8 (diff)
eval: record correct source contexts in call stack
Also handle calls to C functions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/02_runtime/04_switch_case')
-rw-r--r--tests/02_runtime/04_switch_case2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/02_runtime/04_switch_case b/tests/02_runtime/04_switch_case
index d3f6c94..0de87dc 100644
--- a/tests/02_runtime/04_switch_case
+++ b/tests/02_runtime/04_switch_case
@@ -243,7 +243,7 @@ one
-- Expect stderr --
Died
In test(), line 6, byte 7:
- at main function ([stdin]:17:12)
+ called from anonymous function ([stdin]:17:12)
` die();`
Near here -----^