Source
Edit
Implements type sanity checking for ASTs resulting from macros. Lots of room for improvement here.
proc annotateType(n: PNode; t: PType; conf: ConfigRef; producedClosure: var bool) {....raises: [
ERecoverableError, KeyError, ValueError, IOError, OSError, Exception], tags: [
WriteIOEffect, ReadEnvEffect, ReadIOEffect, RootEffect, ReadDirEffect],
forbids: [].}
-
Source
Edit