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