This commit is contained in:
flywind
2021-04-16 01:25:35 +08:00
committed by GitHub
parent 3f56b9944e
commit 5c12c711f7

View File

@@ -279,6 +279,14 @@ block: # bug #10815
const a = P()
doAssert $a == ""
when defined osx: # xxx bug https://github.com/nim-lang/Nim/issues/10815#issuecomment-476380734
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