parent
4e0e706cfe
commit
e26545797e
3 changed files with 12 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
output: ""
|
||||
output: "@[@[], @[], @[], @[], @[]]"
|
||||
"""
|
||||
import sugar
|
||||
import macros
|
||||
|
|
@ -26,3 +26,12 @@ block distinctBase:
|
|||
Uint[bits: static[int]] = distinct uintImpl(bits)
|
||||
|
||||
doAssert Uint[128].distinctBase is UintImpl[uint64]
|
||||
|
||||
# bug #7816
|
||||
import sequtils
|
||||
|
||||
proc tester[T](x: T) =
|
||||
let test = toSeq(0..4).map(i => newSeq[int]())
|
||||
echo test
|
||||
|
||||
tester(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue