Skip to content

Commit 29e60d5

Browse files
authored
Add using where it is needed (#402)
For CB, we should add `using` clause here since starting from `3.5.0`, they desugar to contextual parameters instead of implicit parameters.
1 parent 869fff5 commit 29e60d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

os/src/Path.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,8 @@ object Path extends PathMacros {
477477
val f = implicitly[PathConvertible[T]].apply(f0)
478478
if (f.subpath(0, 1).toString != "~") if (base == null) Path(f0) else Path(f0, base)
479479
else {
480-
Path(System.getProperty("user.home"))(PathConvertible.StringConvertible) /
481-
RelPath(f.subpath(0, 1).relativize(f))(PathConvertible.NioPathConvertible)
480+
Path(System.getProperty("user.home"))(using PathConvertible.StringConvertible) /
481+
RelPath(f.subpath(0, 1).relativize(f))(using PathConvertible.NioPathConvertible)
482482
}
483483
}
484484

0 commit comments

Comments
 (0)