better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799)

This commit is contained in:
Andreas Rumpf
2019-12-05 13:45:16 +01:00
committed by GitHub
parent 267fed53ee
commit 0e7338d65c
10 changed files with 129 additions and 81 deletions

View File

@@ -19,7 +19,7 @@ import sets, tables
suite "random int":
test "there might be some randomness":
var set = initSet[int](128)
var set = initHashSet[int](128)
for i in 1..1000:
incl(set, random(high(int)))