aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_decls.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-sem_decls.adb')
-rw-r--r--src/vhdl/vhdl-sem_decls.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_decls.adb b/src/vhdl/vhdl-sem_decls.adb
index a84435fa9..32b56a690 100644
--- a/src/vhdl/vhdl-sem_decls.adb
+++ b/src/vhdl/vhdl-sem_decls.adb
@@ -852,7 +852,7 @@ package body Vhdl.Sem_Decls is
return;
end if;
- if Is_Proper_Subtype_Indication (Ind) then
+ if not Is_Proper_Subtype_Indication (Ind) then
if Get_Kind (Def) /= Iir_Kind_Protected_Type_Declaration
and then Get_Kind (Def) /= Iir_Kind_Interface_Type_Definition
then