scalan.Exceptions.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common_2.12 Show documentation
Show all versions of common_2.12 Show documentation
Compiling Scala to Something special
The newest version!
package scalan
/**
* Can be thrown in staged method body to prevent body unfolding.
* When this exception is thrown, the caller can catch it and reify
* this invocation as MethodCall graph node.
*/
class DelayInvokeException extends Exception {
override def fillInStackTrace(): Throwable = this // to avoid spending time on recording stack trace
}