﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5730	Issue with operator record constructors in NF	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/Modelica_LinearSystems2/files/Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver.err Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver]. The NF reports
{{{
[Modelica_LinearSystems2 2.3.5/DiscreteStateSpace.mo:26:5-29:54:writable]
Error: Base class Modelica_LinearSystems2.DiscreteTransferFunction.Conversion.toDiscreteStateSpace
not found in scope 'constructor'.
}}}
The sought-after function is defined [https://github.com/modelica/Modelica_LinearSystems2/blob/5485b6524c0ae9d8d9ecc48aef1db29d03714e6f/Modelica_LinearSystems2/DiscreteTransferFunction.mo#L1249 here]. 

The scope of {{{constructor}}} is encapsulated. However, [https://specification.modelica.org/v3.4/Ch5.html#simple-name-lookup Section 5.3.1 of the Specification] states that lookup is stopped for simple names, not composed using dot notation.
"	defect	new	high		New Instantiation				
