[Issue 12034] Union and inlining leads to erroneous "Error: variable used before set"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 11 12:43:49 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=12034

--- Comment #2 from ponce <aliloko at gmail.com> ---
DMD v2.068.0 refuses this program with:

test.d(15): Error: variable hu used before set

Not sure if intended because the whole variable is written with 

    hu.f = asHalf;

--


More information about the Digitalmars-d-bugs mailing list