https://bugs.kde.org/show_bug.cgi?id=81301

--- Comment #7 from Oliver Kellogg <okell...@users.sourceforge.net> ---
Git commit 1b35365e642e4094d916c1db8956f6961c12da46 by Oliver Kellogg.
Committed on 17/01/2021 at 19:26.
Pushed by okellogg into branch 'master'.

In IDLWriter flesh out code generation for IDL union:

umbrello/codegenerators/idl/idlwriter.cpp
- In function writeClass, if `stype' contains "Union" then
  - retrieve the classifier's attributes into local `atl';
  - pop first attribute off front of `atl' into local `discrim' and
    generate the "switch" type using discrim;
  - iterate over the remaining elements of `atl' and handle tags on
    each element (the tags are used for storing the union case labels
    or the "default" label) before printing each attribute.
- Additional change in function writeClass: On handling Typedef fix
  crash when superclass is not set.

M  +39   -5    umbrello/codegenerators/idl/idlwriter.cpp

https://invent.kde.org/sdk/umbrello/commit/1b35365e642e4094d916c1db8956f6961c12da46

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to