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
commit 0e7338d65c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)))