https://issues.dlang.org/show_bug.cgi?id=12380
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #3 from Andrej Mitrovic <[email protected]> --- I've found another test-case which wasn't fixed by this pull: ----- struct vec2 { float x, y; } enum winSize = vec2(1024, 768); // L3 void main() { int x = winSize.x; // L7 } ----- test.d(3): Error: cannot implicitly convert expression (1024.00) of type float to int --
