For the record, the bug was that I was I calling a chunk ::CALL from a rvalue
(which, from my understanding, turns into an anonymous pointcut).
But, this wasn't supported, since you're only supposed to do that from a block
(a chunk –even a ::CALL chunk– is supposed to be a block of code anyway).
But in my use-case the ::CALL chunk translated into a simple function call.
I was actually already doing this trick with method calls, but the problem didn't
manifest because method calls are broken in the first place.
Anyway, Joa hacked support for this operation into the compiler, we still have
a few problems with things not being correctly expanded in the call, but he is
working on it.
--
Louis Opter