Closed mauhiz closed 9 years ago
I'm guessing it could be that it's not because it's a macro, but because of the @inline, but it's definitely a false positive.
I'll take a closer look later today.
I've published the fix under 0.1-SNAPSHOT (as usual), so just run sbt update, and compile normally, and hopefully this false positive is fixed.
@HairyFotr amazing! thanks
Thank you for reporting it!
Say we have a macro for debugging:
@inline def debug(msg: => String): Unit = macro debugImpl
with debugImpl being equivalent to:
if (Logger.isDebugEnabled) Logger.debug(msg)
Then errors are reported on the call sites of this method:
if (someCondition) debug(msg)
<<<