This commit is contained in:
Araq 2013-11-29 20:42:12 +01:00
commit 2dcbc6493a
4 changed files with 166 additions and 20 deletions

View file

@ -8,4 +8,12 @@ proc foo(models: seq[TTable[string, float]]): seq[float] =
for model in models.items:
result.add model["foobar"]
# bug #686
type TType[T; A] = array[A, T]
proc foo[T](p: TType[T, range[0..1]]) =
echo "foo"
proc foo[T](p: TType[T, range[0..2]]) =
echo "bar"