summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-03-03 22:56:06 +0800
committerGitHub <noreply@github.com>2024-03-03 15:56:06 +0100
commit31d755452485eccffa396e0e8432050a63b04c35 (patch)
treebe2f2c1d4cdd4c4718dd8b32dc548b2e39ef4c4b /tests
parentf4fe3af42a54d70154aa5e6bc811bb9eee304214 (diff)
downloadNim-31d755452485eccffa396e0e8432050a63b04c35.tar.gz
fixes #13481; fixes #22708; disable using union objects in VM (#23362)
fixes #13481;
fixes #22708

Otherwise it gives implicit results or bad codegen
Diffstat (limited to 'tests')
-rw-r--r--tests/vm/tvmmisc.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/vm/tvmmisc.nim b/tests/vm/tvmmisc.nim
index f277c20d8..d28f76574 100644
--- a/tests/vm/tvmmisc.nim
+++ b/tests/vm/tvmmisc.nim
@@ -301,14 +301,6 @@ block: # bug #10815
   const a = P()
   doAssert $a == ""
 
-when defined osx: # xxx bug #13481
-  block:
-    type CharSet {.union.} = object
-      cs: set[char]
-      vs: array[4, uint64]
-    const a = Charset(cs: {'a'..'z'})
-    doAssert a.repr.len > 0
-
 import tables
 
 block: # bug #8007