diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/sem.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/sem.adb b/src/vhdl/sem.adb index 95bbe90..3a3f505 100644 --- a/src/vhdl/sem.adb +++ b/src/vhdl/sem.adb @@ -1565,6 +1565,7 @@ package body Sem is -- Also, only check for explicitly subprograms (and not -- implicit one). if not Is_Implicit_Subprogram (Decl1) + and then Get_Kind (Decl1) in Iir_Kinds_Subprogram_Declaration and then not Is_Potentially_Visible (Interpretation) and then Get_Subprogram_Hash (Decl1) = Hash and then Is_Same_Profile (Decl, Decl1) |