mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-26 17:24:02 +00:00
* [backport] fix #11320 * fix test for 32 bit test
This commit is contained in:
committed by
Andreas Rumpf
parent
0a1cb631a2
commit
20d0ef8afb
@@ -291,7 +291,7 @@ proc computeSizeAlign(conf: ConfigRef; typ: PType) =
|
||||
of tyUncheckedArray:
|
||||
let base = typ.lastSon
|
||||
computeSizeAlign(conf, base)
|
||||
typ.size = szUnknownSize
|
||||
typ.size = 0
|
||||
typ.align = base.align
|
||||
of tyEnum:
|
||||
if firstOrd(conf, typ) < 0:
|
||||
|
||||
Reference in New Issue
Block a user