You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to use sourcecode in an mdoc snippet, NullPointerException is thrown.
Mdoc input:
```scala mdoc
implicitly[sourcecode.File]
```
Error:
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toAbsolutePath()" because the return value of "scala.quoted.Quotes$reflectModule$SourceFileMethods.jpath(Object)" is null
at sourcecode.Macros$.fileImpl(Macros.scala:150)
Would it be possible to return something like File("<none>") instead?
The text was updated successfully, but these errors were encountered:
Hi,
when trying to use
sourcecode
in an mdoc snippet,NullPointerException
is thrown.Mdoc input:
Error:
Would it be possible to return something like
File("<none>")
instead?The text was updated successfully, but these errors were encountered: