close #1051
This commit is contained in:
parent
b101a59734
commit
36c4f0a89c
2 changed files with 46 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ type
|
|||
x: int
|
||||
|
||||
proc initOdArray*[As: static[int], T](len: int): OdArray[As, T] =
|
||||
result.l = len
|
||||
result.x = len
|
||||
|
||||
echo initOdArray[10, int](100)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue