Fix compile time set cardinality (#7558)
This commit is contained in:
parent
992300b300
commit
427490a845
3 changed files with 34 additions and 11 deletions
|
|
@ -202,3 +202,7 @@ var
|
|||
#import compiler.msgs
|
||||
|
||||
echo warnUninit in gNotes
|
||||
|
||||
# 7555
|
||||
doAssert {-1.int8, -2, -2}.card == 2
|
||||
doAssert {1, 2, 2, 3..5, 4..6}.card == 6
|
||||
Loading…
Add table
Add a link
Reference in a new issue