fix #14421 items uses lent T (#14447)

* fix #14421 items uses lent T for seq + openArray
* add -d:nimWorkaround14447
* fix test
This commit is contained in:
Timothee Cour 2020-05-29 08:10:59 -07:00 • committed by GitHub
commit 63d1a0289e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 40 additions and 13 deletions

View file

@ -2,7 +2,7 @@ discard """
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
output: '''button
clicked!
(allocCount: 7, deallocCount: 7)'''
(allocCount: 6, deallocCount: 6)'''
"""
import system / ansi_c