fixes #4910
This commit is contained in:
parent
9af9480340
commit
a75f3b3661
2 changed files with 15 additions and 4 deletions
|
|
@ -21,3 +21,11 @@ proc getSubsystem*[T](): ptr T {.
|
|||
|
||||
let input: ptr Input = getSubsystem[Input]()
|
||||
|
||||
|
||||
# bug #4910
|
||||
|
||||
proc foo() =
|
||||
var ts: array[10, int]
|
||||
for t in mitems(ts):
|
||||
t = 123
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue