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 294afa0 commit 9fcf594Copy full SHA for 9fcf594
compiler/src/dotty/tools/dotc/transform/linker/BuildCallGraph.scala
@@ -126,7 +126,8 @@ class BuildCallGraph extends Phase {
126
callGraph.getInfo().log()
127
128
if (ctx.settings.linkVis.value) {
129
- val visFile = new java.io.File(ctx.settings.d.value + "-call-graph.html")
+ val d = ctx.settings.d.value
130
+ val visFile = new java.io.File(if (d == ".") "call-graph.html" else d + "-call-graph.html")
131
GraphVisualization.outputGraphVisToFile(callGraph, visFile)
132
ctx.log("Created call graph visualization: " + visFile.getAbsoluteFile)
133
}
0 commit comments