Open marcs-feh opened 2 weeks ago
Adding @instrumentation_enter and exit attributes on a non-global should probably be a compile error
Adding @instrumentation_enter and exit attributes on a non-global should probably be a compile error
I agree, but the interaction with when
is really weird, how does doing conditional compilation change the inner procedure in some way that might cause it to somehow function properly?
Adding @instrumentation_enter and exit attributes on a non-global should probably be a compile error
I agree, but the interaction with
when
is really weird, how does doing conditional compilation change the inner procedure in some way that might cause it to somehow function properly?
That is indeed a weird interaction
Context
In a utility function to be able to use the Spall debugger:
Expected Behavior
Proper compilation or a odin compiler error.
Current Behavior
The compiler crashes with the following message:
A very weird thing also happens when using a
when
statement, doing this:Doing this somehow completely fixes the issue.
Steps to Reproduce
Copying the context code and trying to use it should be enough
Odin report output