parent
3bff12b966
commit
d5a0a5dfff
2 changed files with 9 additions and 1 deletions
|
|
@ -349,3 +349,11 @@ type
|
|||
a: array[n, int]
|
||||
Tile = TileCT #Commenting this out to make it work
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------------------
|
||||
# issue #15858
|
||||
|
||||
proc fn(N1: static int, N2: static int, T: typedesc): array[N1 * N2, T] =
|
||||
doAssert(len(result) == N1 * N2)
|
||||
|
||||
let yy = fn(5, 10, float)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue