diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-28 19:04:49 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-11-28 19:04:49 +0100 |
commit | d142b93ca425c2b7194ec2ea5a558d005aa62734 (patch) | |
tree | cad36d32896d2c87302bd64f0700c62f5ae9ccff /src | |
parent | 5e5355d878c3b5259b133ff0fdebe318cb5338d5 (diff) | |
download | ghdl-d142b93ca425c2b7194ec2ea5a558d005aa62734.tar.gz ghdl-d142b93ca425c2b7194ec2ea5a558d005aa62734.tar.bz2 ghdl-d142b93ca425c2b7194ec2ea5a558d005aa62734.zip |
sem_scopes: potentially visible name cannot conflict with a normal one.
Fix #710
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/sem_scopes.adb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vhdl/sem_scopes.adb b/src/vhdl/sem_scopes.adb index 6a71c4925..3fe12923e 100644 --- a/src/vhdl/sem_scopes.adb +++ b/src/vhdl/sem_scopes.adb @@ -636,10 +636,8 @@ package body Sem_Scopes is -- 1. A potentially visible declaration is not made -- directly visible if the place considered is within the -- immediate scope of a homograph of the declaration. - if Is_In_Current_Declarative_Region (Homograph) then - if not Is_Potentially_Visible (Homograph) then - return; - end if; + if not Is_Potentially_Visible (Homograph) then + return; end if; -- LRM08 12.4 Use Clauses |