File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2835,18 +2835,17 @@ package body Laltools.Common is
28352835 Ref_Kind : out Libadalang.Common.Ref_Result_Kind) return Defining_Name
28362836 is
28372837 Result : Defining_Name;
2838- Failsafe_Result : Refd_Def ;
2838+ Failsafe_Result : Refd_Decl ;
28392839 begin
28402840 Ref_Kind := Precise;
28412841 if Name_Node.Is_Null then
28422842 return No_Defining_Name;
2843- -- P_Failsafe_Referenced_Def_Name doesn't work on the decl itself
2843+ -- P_Failsafe_Referenced_Decl doesn't work on the decl itself
28442844 elsif Name_Node.P_Is_Defining then
28452845 Result := Name_Node.P_Enclosing_Defining_Name.P_Canonical_Part;
28462846 else
28472847 Failsafe_Result :=
2848- Name_Node.P_Failsafe_Referenced_Def_Name
2849- (Imprecise_Fallback => True);
2848+ Name_Node.P_Failsafe_Referenced_Decl (Imprecise_Fallback => True);
28502849 Ref_Kind := Kind (Failsafe_Result);
28512850 case Kind (Failsafe_Result) is
28522851 when Precise | Imprecise =>
You can’t perform that action at this time.
0 commit comments