Open
Description
Bug description:
Hi guys, the following errors are reported for the snippet below:
Expected '{identifier}'
and Expected 'library', 'use', 'context', 'entity', 'architecture', 'configuration' or 'package'
It seems to be that VHDL LS doesn't allow arrays be indexed when they're used as a type identifier. With the error itself I can live with but it also breaks the entire hovering over labels and stops to produce warning other stuffs.
The code works with Questa Sim 2022.4.
Code to reproduce the error:
type test_arr_t is array (natural range <>) of std_logic_vector(3 downto 0);
signal test_arr_sig: test_arr_t(3 downto 0);
signal test_sig: test_arr_sig(0)'subtype := (others => '0');