We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
We want to be able to write macros that have several top level splices such as
inline def foo(b: Boolean): Int = { if (b) ${bar(true)} else ${bar(false)} } def bar(b: Boolean)(using QuoteContext): Expr[Int] = if (b) '{1} else '{0}