Opened 5 years ago
Closed 5 years ago
#5900 closed defect (fixed)
Function _ not found in scope _ : Translation error
Reported by: | bertie | Owned by: | Per Östlund |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | New Instantiation | Version: | v1.14.1 |
Keywords: | Cc: |
Description
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
Change History (2)
comment:1 by , 5 years ago
Component: | *unknown* → New Instantiation |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 390e593.