We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3fb86 commit 00919beCopy full SHA for 00919be
Compiler/FrontEnd/InstSection.mo
@@ -2508,8 +2508,9 @@ algorithm
2508
case (cache,env,ih,pre,(SCode.ALG_NORETCALL(functionCall = callFunc, functionArgs = callArgs, info = info)),source,initial_,impl,unrollForLoops)
2509
equation
2510
(cache, DAE.CALL(ap, eexpl, tuple_, builtin, tp, inlineType), varprop, _) =
2511
- Static.elabExp(cache, env, Absyn.CALL(callFunc, callArgs), impl,NONE(), true,pre,info);
2512
- ap = PrefixUtil.prefixPath(ap,pre);
+ Static.elabExp(cache, env, Absyn.CALL(callFunc, callArgs), impl,NONE(), true,pre,info);
+ // DO NOT PREFIX THIS PATH; THE PREFIX IS ONLY USED FOR COMPONENTS, NOT NAMES OF FUNCTIONS....
2513
+ // ap = PrefixUtil.prefixPath(ap,pre);
2514
(cache,eexpl) = PrefixUtil.prefixExpList(cache, env, ih, eexpl, pre);
2515
source = DAEUtil.addElementSourceFileInfo(source, info);
2516
stmt = DAE.STMT_NORETCALL(DAE.CALL(ap,eexpl,tuple_,builtin,tp,inlineType),source);
0 commit comments