fixes #686
This commit is contained in:
parent
f10a23e669
commit
2dcbc6493a
4 changed files with 166 additions and 20 deletions
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue