Dmitry Vyukov e8b4970547 pkg/compiler: allow unions with only 1 field
Unions with only 1 field are not actually unions,
and can always be replaced with the option type.
However, they are still useful when there will be
more options in future but currently only 1 is described.
Alternatives are:
 - not using union (but then all existing programs will be
   broken when union is finally introduced)
 - adding a fake field (ugly and reduces fuzzer efficiency)

Allow unions with only 1 field.
2018-01-27 17:08:43 +01:00
..
2017-01-09 20:28:10 +01:00
2017-01-28 19:58:31 +01:00
2017-01-28 19:58:31 +01:00
2017-02-01 10:16:19 +01:00
2017-09-20 21:19:29 +02:00
2017-09-20 21:19:29 +02:00