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

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/29c1e309be359f871d4052c025f7f3144005d092
Fix issue 18232: local vars in union member functions needs initializer.

The `isunion` condition is too broad, because it also excludes local
variables declared inside union member functions. Moreoever, it is not
necessary, because the `fd` condition later on already excludes union
fields, since they would not be inside a function declaration.

https://github.com/dlang/dmd/commit/4cf228eb33ee8e2b4b6856fa7c08990217039ac7
Merge pull request #7687 from quickfur/issue18232

Fix issue 18232: local vars in union member functions needs initializer.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzb...@gmail.com>

--

Reply via email to