diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-31 00:48:25 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-31 00:48:25 +0100 |
| commit | 5dd5d460f154c146d26f115706a21b7808658edf (patch) | |
| tree | 14995bb9aad23bf4b025a4f654e34d8c954c3d57 /boot/type_check.cc | |
| parent | d54b7d86beff8bb91e204e56a7ec01d3ab8ca43c (diff) | |
| download | elna-5dd5d460f154c146d26f115706a21b7808658edf.tar.gz | |
Fix error span for missing return message
Diffstat (limited to 'boot/type_check.cc')
| -rw-r--r-- | boot/type_check.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<T, unary>) |
