On 3/7/18 3:09 PM, ag0aep6g wrote:
On 03/07/2018 08:54 PM, Steven Schveighoffer wrote:
Clearly there is some codegen issue here.


It's beautiful:

----
double f() { return 1; }

void main()
{
     cast(void) f();
     cast(void) f();
     cast(void) f();
     cast(void) f();
     cast(void) f();
     cast(void) f();
     cast(void) f();

     double b = 2;
     assert(b == 2); /* fails; should pass */
}
----

Are all those calls required? That's one crazy bug.

-Steve

Reply via email to