This commit is contained in:
Zahary Karadjov 2017-06-10 23:52:05 +03:00 • committed by Andreas Rumpf
commit 36c4f0a89c
2 changed files with 46 additions and 10 deletions

View file

@ -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)