Explicit macro call provides a case class with the file and line number
Explicit macro call provides a case class with the file and line number
val here = STACKELEMENT
Implicit macro definiton provides a case class with the file and line number useful for passing as an implicit reference to methods
Implicit macro definiton provides a case class with the file and line number useful for passing as an implicit reference to methods
def foo(bar: Int)(implicit caller: StackElement) { println("called foo(" + bar + ") at " + caller) }
Converts from StackElement to StackTraceElement, since StackTraceElement is final