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 913d0a8 commit 2ce16a7Copy full SHA for 2ce16a7
tests/run-custom-args/tasty-inspector/tastyPaths.scala
@@ -1,6 +1,8 @@
1
import scala.quoted._
2
import scala.tasty.inspector._
3
4
+import java.io.File.separator
5
+
6
opaque type PhoneNumber = String
7
8
case class I8163() {
@@ -23,7 +25,7 @@ object Test {
23
25
class TestInspector() extends Inspector:
24
26
27
def inspect(using Quotes)(tastys: List[Tasty[quotes.type]]): Unit =
- println(tastys.map(_.path.split("/tasty-inspector/").last))
28
+ println(tastys.map(_.path.split(s"${separator}tasty-inspector$separator").last))
29
try
30
quotes.reflect.SourceFile.current
31
assert(false)
0 commit comments