From 5dd5d460f154c146d26f115706a21b7808658edf Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 31 Oct 2026 00:48:25 +0100 Subject: Fix error span for missing return message --- boot/type_check.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/type_check.cc') diff --git a/boot/type_check.cc b/boot/type_check.cc index 14a5099..7adaaed 100644 --- a/boot/type_check.cc +++ b/boot/type_check.cc @@ -198,7 +198,7 @@ namespace elna::boot + this->actual.to_string() + "'"; } return describe_callable(payload.identifier) - + " is expected to return, but does not have a return statement"; + + " is expected to return a value, but has no return expression"; } else if constexpr (std::is_same_v) -- cgit v1.2.3