tunion.nim 147 B

12345678
  1. discard """
  2. errormsg: "`{.union.}` is not implemented for js backend."
  3. """
  4. type Foo {.union.} = object
  5. as_bytes: array[8, int8]
  6. data: int64