I'm having this issue I cannot fix. I would like to get recursively the classes starting from the macro.
Class A{
  def myfunc = macro mymacro
}
Class B{
  val b = new A().myfunc
}
Class C{
 val c = new B().b
}
At the end I want to get the resulting stacktrace so [C.c,B.b,A.myfunc]. Is there any way to do this? I already tried to get the owner of the encoding class but I don't know how to identify the class who really called B. Please consider the case where I have also a class D like below:
Class D{
  val d = new B().b
}
and a main like below:
Main {
  new C.c
}
