Added typeinfo module
This commit is contained in:
parent
3bc821aa5c
commit
8b98ba9a63
5 changed files with 210 additions and 3 deletions
|
|
@ -1889,3 +1889,4 @@ proc `[]=`*[T](s: var seq[T], x: TSlice[int], b: openArray[T]) =
|
|||
else:
|
||||
raise newException(EOutOfRange, "differing lengths for slice assignment")
|
||||
|
||||
proc getTypeInfo*[T](x: T): pointer {.magic: "ToAny".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue