In the sample code below, a
points to a variable and b
points to a constant:
var variable: i32 = 123;
const constant: i32 = 123;
const a = &variable;
const b = &constant;
test {
@compileLog(a.*);
@compileLog(b.*);
}
Compile Log Output:
@as(i32, [runtime value])
@as(i32, 123)
Is there a way to extract this information programmatically?