We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a40edf commit 6f25adcCopy full SHA for 6f25adc
source/dpp/runtime/options.d
@@ -53,9 +53,9 @@ struct Options {
53
54
// Remove the name of this binary and the name of the .dpp input file from args
55
// so that a D compiler can use the remaining entries.
56
- dlangCompilerArgs =
57
- args[1..$].filter!(a => a.extension != ".dpp").array ~
58
- dFileNames;
+ dlangCompilerArgs = args[1..$]
+ .map!(a => a.extension == ".dpp" ? toDFileName(a) : a)
+ .array;
59
60
includePaths = systemPaths ~ includePaths;
61
}
0 commit comments