Commit 2653cbda by Hristian Kirtchev Committed by Arnaud Charlet

exp_disp.adb (Prim_Op_Kind): Retrieve the full view when a private tagged type…

exp_disp.adb (Prim_Op_Kind): Retrieve the full view when a private tagged type is completed by a concurrent type.

2008-07-31  Hristian Kirtchev  <kirtchev@adacore.com>

	* exp_disp.adb (Prim_Op_Kind): Retrieve the full view when a private
	tagged type is completed by a concurrent type.

From-SVN: r138411
parent 97805762
...@@ -6042,6 +6042,13 @@ package body Exp_Disp is ...@@ -6042,6 +6042,13 @@ package body Exp_Disp is
Full_Typ := Corresponding_Concurrent_Type (Typ); Full_Typ := Corresponding_Concurrent_Type (Typ);
end if; end if;
-- When a private tagged type is completed by a concurrent type,
-- retrieve the full view.
if Is_Private_Type (Full_Typ) then
Full_Typ := Full_View (Full_Typ);
end if;
if Ekind (Prim_Op) = E_Function then if Ekind (Prim_Op) = E_Function then
-- Protected function -- Protected function
......
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