Scala macro passing incorrect argument value to generated code I am writing a macro which wraps any annotated method with boilerplate code.