scala.quoted.runtime.StopMacroExpansion.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-library_3 Show documentation
Show all versions of scala3-library_3 Show documentation
scala3-library-bootstrapped
The newest version!
package scala.quoted.runtime
/** Throwable used to abort the expansion of a macro after an error was reported */
class StopMacroExpansion extends Throwable:
// Do not fill the stacktrace for performance.
// We know that the stacktrace will be ignored
// and only the reported error message will be used.
override def fillInStackTrace(): Throwable = this
© 2015 - 2024 Weber Informatics LLC | Privacy Policy