﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5066	[NF] checkModel(Path.To.Protected.Class) fails	Adrian Pop	Per Östlund	"Because we have the check for protection on elements now during lookup we cannot check protected functions or models. I guess we should disable this check for the first lookup of the main class to instantiate.

For example:
{{{
checkModel(Modelica.Blocks.Continuous.Internal.Filter.Utilities.normalizationFactor.normalizationResidue); getErrorString();
}}}

gives you:

{{{
""[c:/home/adrpo33/dev/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Blocks/Continuous.mo:4070:11-4102:35:writable] Error: Illegal access of protected element normalizationResidue.
Error: Class Modelica.Blocks.Continuous.Internal.Filter.Utilities.normalizationFactor.normalizationResidue not found in scope <top>.
[c:/home/adrpo33/dev/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Blocks/Continuous.mo:4070:11-4102:35:writable] Error: Illegal access of protected element normalizationResidue.
Error: Class Modelica.Blocks.Continuous.Internal.Filter.Utilities.normalizationFactor.normalizationResidue not found in scope <top>.
""
}}}
"	defect	closed	high	2.0.0	New Instantiation		fixed		
