* fix #7658

* more
This commit is contained in:
flywind 2020-10-30 16:58:55 +08:00 • committed by GitHub
commit 17f08b2939
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

7
tests/js/tunion.nim Normal file
View file

@ -0,0 +1,7 @@
discard """
errormsg: "`{.union.}` is not implemented for js backend."
"""
type Foo {.union.} = object
as_bytes: array[8, int8]
data: int64