use typeof instead type (#16962)
This commit is contained in:
parent
4fac8af0c9
commit
d447c0fe3f
31 changed files with 253 additions and 253 deletions
|
|
@ -10,7 +10,7 @@ type
|
|||
v: T
|
||||
|
||||
template templ(o: A, op: untyped): untyped =
|
||||
type T = type(o.v)
|
||||
type T = typeof(o.v)
|
||||
|
||||
var res: A[T]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue