Skip to content
Snippets Groups Projects
Commit b3762834 authored by Adam Welc's avatar Adam Welc
Browse files

Temporary fix for on-demand source section generation.

parent d5000629
No related branches found
No related tags found
No related merge requests found
......@@ -1364,7 +1364,8 @@ public class CallRFFIHelper {
RFunction f = (RFunction) o;
SourceSection ss = f.getRootNode().getSourceSection();
String path = ss.getSource().getPath();
return RSrcref.createLloc(ss, path);
// TODO: is it correct to pass "" if path is null?
return RSrcref.createLloc(ss, path == null ? "" : path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment