Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Fix NFUnitCheck.getFunctionName for records.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - #3078
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 7, 2019
1 parent ee7aaab commit 80f6ed2
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions Compiler/NFFrontEnd/NFUnitCheck.mo
Expand Up @@ -115,18 +115,7 @@ end parseFunctionList;

public function getFunctionName
input DAE.Function inFunction;
output String outString;
algorithm
outString := match inFunction
local
Absyn.Path path;
String s, s1;

case DAE.FUNCTION(path=path) algorithm
s := Absyn.pathStringDefault(path);
s1 := System.trim(s, ".");
then s1;
end match;
output String outString = Absyn.pathString(Absyn.makeNotFullyQualified(DAEUtil.functionName(inFunction)));
end getFunctionName;

function getVars
Expand Down

0 comments on commit 80f6ed2

Please sign in to comment.