Commit 2a26a7ec by Javier Miranda Committed by Arnaud Charlet

exp_disp (Expand_Interface_Actuals): Adds missing support for expansion of calls…

exp_disp (Expand_Interface_Actuals): Adds missing support for expansion of calls to subprograms using selected...

2008-08-06  Javier Miranda  <miranda@adacore.com>

	* exp_disp (Expand_Interface_Actuals): Adds missing support for
	expansion of calls to subprograms using selected components.

From-SVN: r138778
parent 3e1055a7
......@@ -1054,7 +1054,12 @@ package body Exp_Disp is
if Nkind (Name (Call_Node)) = N_Explicit_Dereference then
Subp := Etype (Name (Call_Node));
-- Normal case
-- Call using selected component
elsif Nkind (Name (Call_Node)) = N_Selected_Component then
Subp := Entity (Selector_Name (Name (Call_Node)));
-- Call using direct name
else
Subp := Entity (Name (Call_Node));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment