PatternLanguage
PatternLanguage copied to clipboard
Incorrect evaluation occurs when a local variable name collides with the template argument of an instantiated template parameter.
struct array<auto count> {
u32 value [count];
};
struct root<type> {
u8 size;
type a;
};
u8 size@1;
using a1 = array<size>;
root<a1> rot @ 0;
The template parameter size in array
There is a similar issue posted in the ImHex main repository here where the topic is discussed to some extent but was not resolved.