aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-08-07 07:32:49 +0200
committerTristan Gingold <tgingold@free.fr>2022-08-07 10:00:13 +0200
commit0a52b0a867c25acdaac1591d4e269d5823d2c972 (patch)
tree5def794fe993a52fbb994f9b4285b969b03ff824 /src/vhdl/vhdl-sem.adb
parentb2e6770ab013db70f1a5aa85a4161cc0598e5910 (diff)
downloadghdl-0a52b0a867c25acdaac1591d4e269d5823d2c972.tar.gz
ghdl-0a52b0a867c25acdaac1591d4e269d5823d2c972.tar.bz2
ghdl-0a52b0a867c25acdaac1591d4e269d5823d2c972.zip
vhdl-sem.adb(are_trees_equal): handle qualified expressions. Fix #2164
Diffstat (limited to 'src/vhdl/vhdl-sem.adb')
-rw-r--r--src/vhdl/vhdl-sem.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb
index 8510398ff..e6c003003 100644
--- a/src/vhdl/vhdl-sem.adb
+++ b/src/vhdl/vhdl-sem.adb
@@ -1566,7 +1566,8 @@ package body Vhdl.Sem is
and then Are_Trees_Equal (Get_Formal_Conversion (Left),
Get_Formal_Conversion (Right));
- when Iir_Kind_Type_Conversion =>
+ when Iir_Kind_Type_Conversion
+ | Iir_Kind_Qualified_Expression =>
return Are_Trees_Equal (Get_Type_Mark (Left),
Get_Type_Mark (Right))
and then