sourcecode
sourcecode copied to clipboard
Scala 3: Cannot invoke "java.nio.file.Path.getFileName()"
On Scala 3, running in the SBT REPL, I'm able to reproduce this issue:
Exception occurred while executing macro expansion.
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getFileName()" because the return value of "scala.quoted.Quotes$reflectModule$SourceFileMethods.jpath(Object)" is null
at sourcecode.Macros$.fileNameImpl(Macros.scala:155)
See https://github.com/outr/scribe/issues/397 for reference
Ping! Any updates on this?
Fixed by https://github.com/com-lihaoyi/sourcecode/pull/153