[backport] fix #11320 (#11538)

* [backport] fix #11320
* fix test for 32 bit test
This commit is contained in:
Arne Döring 2019-07-03 08:00:40 +02:00 • committed by Andreas Rumpf
commit 20d0ef8afb
4 changed files with 17 additions and 6 deletions

View file

@ -4,6 +4,4 @@ invalid type: 'UncheckedArray[uint8]' for var
'''
"""
var
rawMem = alloc0(20)
byteUA = cast[UncheckedArray[uint8]](rawMem)
var byteUA: UncheckedArray[uint8]