Message ID | 20101026105200.GA21322@adacore.com |
---|---|
State | New |
Headers | show |
Index: sem_ch6.adb =================================================================== --- sem_ch6.adb (revision 165935) +++ sem_ch6.adb (working copy) @@ -2330,6 +2330,8 @@ package body Sem_Ch6 is and then Comes_From_Source (Body_Id) and then not Suppress_Style_Checks (Body_Id) and then not In_Instance + and then Nkind (Original_Node (Body_Id)) + /= N_Parameterized_Expression then Style.Body_With_No_Spec (N); end if;