Hi Tobias, thanks for the pointers!
> (CTTéstClass compiledMethodAt: #foo) preamble
Like you said:
I made the following change:
This seems to fix the conversion issues.
Outputs are:
The next problem is the trailing ! for the CTTéstClass preamble.
Here, the integer returned by expandedSourceFileArray >> #filePositionFromSourcePointer: is too large by one.
If have no idea where these constants come from, but as this is a constant method, I don't see how this calculation could be wrong.
I also tried the following:
yielding correctly:
But that seems hacky again.
Looking forward to your reply!
Best,
Christoph