add implicit cast from enum to union

when the enum is the tag type of the union and is comptime known
to be of a void field of the union

See #642
960914a073Andrew Kelley committed on 12/6/2017, 1:46:58 AMparent63a2f9a
5 files changedLine totals unavailable