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 2c65e36 commit a2047afCopy full SHA for a2047af
core/common/src/files/Paths.kt
@@ -78,7 +78,8 @@ public expect fun Path(path: String): Path
78
* Returns Path for the given [base] path concatenated with [parts] using [SystemPathSeparator].
79
*/
80
public fun Path(base: String, vararg parts: String): Path {
81
- return Path(buildString {
+ // Parameter name has to be specified explicitly to overcome https://youtrack.jetbrains.com/issue/KT-22520
82
+ return Path(path = buildString {
83
append(base)
84
parts.forEach {
85
if (isNotEmpty() && !endsWith(SystemPathSeparator)) {
0 commit comments