use typeof instead type (#16962)

This commit is contained in:
flywind 2021-02-08 02:46:07 -06:00 • committed by GitHub
commit d447c0fe3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 253 additions and 253 deletions

View file

@ -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]