Fix handling of union types (RT#58417)
-rw-r--r-- .gitignore
-rw-r--r-- ChangeLog
-rw-r--r-- dist.ini
drwxr-xr-x lib
drwxr-xr-x t