test255
auto test255 =
q{--- test255.vx
// Issue 40
// Incorrect aggregate lowering
// Was checking for isConstant, which ignored zero constants
struct Color { u8 r; u8 g; u8 b; u8 a; }
void draw() {
for(u64 i = 0; i < 4; i++){
u8 a = cast(u8) i;
Color c = Color(255, 0, 0, a);
}
}
};
tests passing
functionsvariables