Just in comments: https://github.com/xeno-by/scala/blob/7b351dca8458f599f5fafef4daa307351031ef06/src/compiler/scala/tools/nsc/typechecker/Macros.scala#L52, and those comments link to JIRA.