Opened 7 years ago

Closed 7 years ago

#4915 closed defect (fixed)

String binding equation doesn't work in NF

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check Modelica.Utilities.Examples.ReadRealMatrixFromFile.err. The following error is reported

[Modelica 3.2.2/Utilities/Examples.mo:413:5-413:174:writable]
Error: Function parameter uri was not given by the function call, and does not have a default value.

The offending line of source code reads

 final parameter String file1 = Modelica.Utilities.Files.loadResource("modelica://Modelica/Resources/Data/Utilities/Test_RealMatrix_v4.mat") "File name of check matrix 1";

Change History (1)

comment:1 by Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in 05de9cc. The issue was that loadResource extends (indirectly) the same base class twice, and the function signature was constructed before duplicate components had been removed.

Note: See TracTickets for help on using tickets.