﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5900	Function _ not found in scope _ : Translation error	bertie	Per Östlund	"I am having trouble using a replaceable type parameter that defaults to the Modelica standard library 2D combi table. I am using OpenModelica 1.14.1.

The following code works fine (in that when I press 'Check Model' there are no translation errors):

{{{
model Error
  replaceable class DefaultTable = Modelica.Blocks.Tables.CombiTable2D;
  DefaultTable bob;
end Error;
}}}

However, this does not:

{{{
model Error
  replaceable class DefaultTable = Modelica.Blocks.Tables.CombiTable2D;
  DefaultTable bob;
  DefaultTable geoff;
end Error;
}}}

The following error is obtained:

{{{
[Modelica.Blocks.Tables: 613:7-613:57]: Function Internal.getTable2DValueNoDer not found in scope DefaultTable.
}}}

Link to stackoverflow thread: https://stackoverflow.com/questions/60949486/function-not-found-in-scope/60964452#60964452
"	defect	closed	normal	Future	New Instantiation	v1.14.1	fixed		
