aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_linux.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-26 12:34:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-27 17:08:43 +0100
commite8b49705479678b38c0068e84f1f599af8829184 (patch)
tree4010754d8153c508159c24fe6ac2caeddaf4f284 /executor/executor_linux.cc
parent1d18b11287c0248782efe867659c17dbdf76e3d5 (diff)
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.
Diffstat (limited to 'executor/executor_linux.cc')
0 files changed, 0 insertions, 0 deletions