Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/common/src/files/Paths.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public expect fun Path(path: String): Path
* Returns Path for the given [base] path concatenated with [parts] using [SystemPathSeparator].
*/
public fun Path(base: String, vararg parts: String): Path {
return Path(buildString {
// Parameter name has to be specified explicitly to overcome https://youtrack.jetbrains.com/issue/KT-22520
return Path(path = buildString {
append(base)
parts.forEach {
if (isNotEmpty() && !endsWith(SystemPathSeparator)) {
Expand Down