File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
_docs/reference/metaprogramming
_spec/TODOreference/metaprogramming Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def macroImpl()(quotes: Quotes): Expr[Unit] =
8282 import quotes .reflect .*
8383 val pos = Position .ofMacroExpansion
8484
85- val path = pos.sourceFile.jpath.toString
85+ val path = pos.sourceFile.path
8686 val start = pos.start
8787 val end = pos.end
8888 val startLine = pos.startLine
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def macroImpl()(quotes: Quotes): Expr[Unit] =
8282 import quotes .reflect .*
8383 val pos = Position .ofMacroExpansion
8484
85- val path = pos.sourceFile.jpath.toString
85+ val path = pos.sourceFile.path
8686 val start = pos.start
8787 val end = pos.end
8888 val startLine = pos.startLine
You can’t perform that action at this time.
0 commit comments