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/name_analysis.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'boot/name_analysis.cc') diff --git a/boot/name_analysis.cc b/boot/name_analysis.cc index 11380db..9305cd2 100644 --- a/boot/name_analysis.cc +++ b/boot/name_analysis.cc @@ -1628,8 +1628,7 @@ namespace elna::boot this->bag.leave(); info_object->parameters = type_parameters; info_object->exported = declaration->identifier.exported(); - info_object->position.emplace(declaration->position().start(), - declaration->heading().position().end()); + info_object->position.emplace(declaration->position()); info_object->file = this->module_file; info_object->noreturn = noreturn; -- cgit v1.2.3