[Ada] Consistently use Validated_View for Valid_Scalars on records
gcc/ada/ * exp_attr.adb (Expand_N_Attribute_Reference): Explicitly use Validated_View for record objects.
This commit is contained in:
parent
6df6055d5c
commit
10215ba9d7
@ -7460,7 +7460,7 @@ package body Exp_Attr is
|
||||
(Build_Record_VS_Func
|
||||
(Attr => N,
|
||||
Formal_Typ => Ptyp,
|
||||
Rec_Typ => Val_Typ),
|
||||
Rec_Typ => Validated_View (Ptyp)),
|
||||
Loc),
|
||||
Parameter_Associations => New_List (Pref));
|
||||
end if;
|
||||
|
Loading…
Reference in New Issue
Block a user