implement the special treatment of explicit type params in concepts
This commit is contained in:
parent
0f2c4be129
commit
644d645ea7
6 changed files with 20 additions and 5 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue