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
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)
- Custom macro uses opaque type, avoiding allocations
- Combining filename and line number should reduce IOs to only capture one pointer
- Remove dependency on com.lihaoyi.sourcecode
- note: this also means kyo now should work better in worksheets/consoles com-lihaoyi/sourcecode#125
On Scala 3, running in the SBT REPL, I'm able to reproduce this issue:
See outr/scribe#397 for reference
The text was updated successfully, but these errors were encountered: