From 6b332f91c82da6e19efad92b58ac1d9c1bc9eec0 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 09:35:19 +0000 Subject: feat(runtime): write runtime diagnostics to stderr Runtime check messages and the unhandled-exception message were printed to stdout by the generated program, so `cpsc x.cps -r >out.txt` captured them. They are now formatted with snprintf and written with write(2). Test expectations and docs are updated accordingly. Co-Authored-By: Claude Sonnet 5.5 --- tests/i/function-call-statements/expected.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/i/function-call-statements/expected.txt') diff --git a/tests/i/function-call-statements/expected.txt b/tests/i/function-call-statements/expected.txt index d2576ac..b35d820 100644 --- a/tests/i/function-call-statements/expected.txt +++ b/tests/i/function-call-statements/expected.txt @@ -2,5 +2,4 @@ 23 7 19 -[Fatal] line 33: Division by zero caught -- cgit v1.3.1-4-g156e