aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-utils.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-utils.adb b/src/vhdl/vhdl-utils.adb
index e3e04cfe8..04fab38a9 100644
--- a/src/vhdl/vhdl-utils.adb
+++ b/src/vhdl/vhdl-utils.adb
@@ -1336,6 +1336,7 @@ package body Vhdl.Utils is
Def := Get_Subtype_Indication (Decl);
-- Implicit functions don't have subtype indication.
-- TODO: make them regular ?
+ -- Also, object aliases may not have a subtype indication.
if Def = Null_Iir then
return False;
end if;