Complete previous check-in.
From-SVN: r84154
This commit is contained in:
parent
15ce9ca22b
commit
267a8fa960
@ -5768,6 +5768,10 @@ package body Sem_Util is
|
||||
-- has discriminant defaults if it is a discriminated record).
|
||||
|
||||
elsif Is_Record_Type (Typ) then
|
||||
if Has_Discriminants (Typ) then
|
||||
return True;
|
||||
end if;
|
||||
|
||||
declare
|
||||
Comp : Entity_Id;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user