Expanding the Location macro for in-memory source files throws a NullPointerException.
Exception occurred while executing macro expansion. java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toString()" because the return value of "scala.quoted.Quotes$reflectModule$SourceFileMethods.jpath(Object)" is null at munit.internal.MacroCompat$.locationImpl(MacroCompat.scala:18)
At the moment, this macro is written exactly the same as in the Scala 3 documentation.
Most likely, the macro implementation will have to be adjusted, for maximum compatibility.
Please read https://github.com/scala/scala3/issues/20591 for the whole context.
Expanding the Location macro for in-memory source files throws a NullPointerException.
At the moment, this macro is written exactly the same as in the Scala 3 documentation.
Most likely, the macro implementation will have to be adjusted, for maximum compatibility.