aboutsummaryrefslogtreecommitdiff
path: root/boot/type_check.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/type_check.cc')
-rw-r--r--boot/type_check.cc2
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>)