Opened 14 years ago

Last modified 14 years ago

#1460 closed defect (fixed)

Noretcall gets the name of function-calls prefixed

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund,

Description

{{{package Modelica
package Utilities
package Streams

function print

input String str;

algorithm

.print(str);

end print;

end Streams;
end Utilities;
end Modelica;

package P

class A

import Modelica.Utilities.*;

algorithm

Streams.print(String(time) + "\n");

end A;

class B

A a;

end B;

end P;}}}

Gives

class P.B
algorithm
  a.Modelica.Utilities.Streams.print(String(time,0,true,6) + "
");
end P.B;

Note the prefixed a in the call.

Change History (0)

Note: See TracTickets for help on using tickets.