﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6442	Support array indexing by enumerations in the NF	Francesco Casella	Per Östlund	"The latest [https://github.com/MarekMatejak/Physiolibrary/commit/8a951b5c7f993ec0de5b5942c07a2fa296c2b483 commit to the PhysioLibrary] caused [https://libraries.openmodelica.org/branches/history/master/2021-04-14%2012:03:57..2021-04-14%2022:57:15.html some regressions], see, e.g., [https://libraries.openmodelica.org/branches/master/Physiolibrary/files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.err Physiolibrary.Fluid.Examples.AirWaterSaturation] due to the use of enumerations as indeces for arrays, see, e.g., [https://github.com/MarekMatejak/Physiolibrary/commit/8a951b5c7f993ec0de5b5942c07a2fa296c2b483#diff-c827ce80ca4a7fba56475cd6e1c8b1fba3c83668849a5012a709b08a3c527c90R5810 line 5810].

I understand this is allowed, see [https://specification.modelica.org/maint/3.5/arrays.html#indexing-with-boolean-or-enumeration-values Section 10.5.1] and it's a feature that's been around at least since Modelica 3.4.

@perost, how hard it is to implement?"	defect	closed	high	1.18.0	New Instantiation	1.18.0-dev	invalid		matejak.marek@…
