Abruptly terminates current macro expansion leaving a note about what happened. Use enclosingPosition
if you're in doubt what position to pass to pos
.
For sending a message which should not be labelled as a warning/error, but also shouldn't require -verbose to be visible. Use enclosingPosition
if you're in doubt what position to pass to pos
.
Emits a compilation error. Use enclosingPosition
if you're in doubt what position to pass to pos
.
Emits an informational message, suppressed unless -verbose
or force=true
. Use enclosingPosition
if you're in doubt what position to pass to pos
.
Emits a warning. Use enclosingPosition
if you're in doubt what position to pass to pos
.
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/macros/FrontEnds.html
EXPERIMENTAL
A slice of the Scala macros context that provides facilities to communicate with the compiler's front end (emit warnings, errors and other sorts of messages).