Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unsafeaddr rendered as addr in typed AST #10807
import macros proc test_unsafeaddr(x: int): int = cast[int](unsafeAddr(x)) macro dumpSym(someproc: typed): untyped = echo someproc.getImpl.repr dumpSym(test_unsafeaddr)
test_unsafeaddr rendered as:
unsafety of addr is lost.