diff options
-rw-r--r-- | src/vhdl/sem_scopes.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/sem_scopes.adb b/src/vhdl/sem_scopes.adb index 907b5eeff..708d56d2f 100644 --- a/src/vhdl/sem_scopes.adb +++ b/src/vhdl/sem_scopes.adb @@ -428,13 +428,13 @@ package body Sem_Scopes is Last_In_Region := Ident; end Add_New_Interpretation; begin - if not Valid_Interpretation (Current_Inter) then + if not Valid_Interpretation (Raw_Inter) then -- Very simple: no hidding, no overloading. Add_New_Interpretation (True); return; end if; - if Is_Conflict_Declaration (Current_Inter) then + if Is_Conflict_Declaration (Raw_Inter) then if Potentially then -- Yet another conflicting interpretation. return; |