2023-08-24 00:19:38 +02:00
|
|
|
struct Env {
|
2023-09-07 14:02:03 +02:00
|
|
|
// ... some struct fields ...
|
|
|
|
Value* values[0];
|
2023-08-24 00:19:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
// ....
|
|
|
|
|
|
|
|
if (env->type == Env::HasWithExpr) {
|
|
|
|
// ...
|
2023-09-07 14:02:03 +02:00
|
|
|
evalAttrs(*env->up, (Expr *) env->values[0], *v, noPos, "<borked>");
|
|
|
|
// ^^^^^^^^^^^^^^^^^^^^^^^
|
2023-08-24 00:19:38 +02:00
|
|
|
}
|