implement the special treatment of explicit type params in concepts

This commit is contained in:
Zahary Karadjov 2016-08-12 16:45:28 +03:00
commit 644d645ea7
6 changed files with 20 additions and 5 deletions

View file

@ -25,7 +25,7 @@ type
# more complicated static param inference cases
m.data is array[TotalElements, T]
M.foo(array[0..FromFoo, type m[int, 10]])
m.foo(array[0..FromFoo, type m[int, 10]])
MyMatrix[M, K: static[int]; T] = object
data: array[M*K, T]