mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 03:14:08 +00:00
* fixes #12747
* fix tests
* improve code style
Co-authored-by: cooldome <ariabushenko@bk.ru>
(cherry picked from commit 613ea6e85e)
This commit is contained in:
@@ -26,3 +26,14 @@ var output = represent(s)
|
||||
|
||||
for item in output():
|
||||
echo item
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Issue #12747
|
||||
|
||||
type
|
||||
ABC = ref object
|
||||
arr: array[0x40000, pointer]
|
||||
let a = ABC()
|
||||
for a in a.arr:
|
||||
assert a == nil
|
||||
Reference in New Issue
Block a user