Commit 87cd385f by Eric Botcazou Committed by Pierre-Marie de Rodat

[Ada] Sem_Ch12: add a comment to indicate future work

2019-09-19  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

	* sem_ch12.adb (Check_Private_View): Add a comment to indicate
	future work.

From-SVN: r275955
parent bee475e2
2019-09-19 Eric Botcazou <ebotcazou@adacore.com>
* sem_ch12.adb (Check_Private_View): Add a comment to indicate
future work.
2019-09-19 Eric Botcazou <ebotcazou@adacore.com>
* exp_aggr.adb (Has_Mutable_Components): Look at the underlying
type of components to find out whether they are mutable.
......
......@@ -7478,6 +7478,11 @@ package body Sem_Ch12 is
end loop;
end;
-- The following case does not test Has_Private_View (N) so it may
-- end up switching views when they are not supposed to be switched.
-- This might be in keeping with Set_Global_Type setting the flag
-- for an array type even if it is not private ???
elsif Is_Private_Type (T)
and then Present (Full_View (T))
and then Is_Array_Type (Full_View (T))
......
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