summary refs log tree commit diff stats
path: root/tests/stdlib/mgenast.nim
Commit message (Collapse)AuthorAgeFilesLines
* new `genAst` as replacement for `quote do` (#17426)Timothee Cour2021-04-021-0/+53
* new `macros.genAst`: fixes all issues with `quote do` * add changelog entry * add workaround for https://github.com/nim-lang/Nim/issues/2465#issuecomment-511076669 * add test for #9607 * add kNoExposeLocalInjects option * add test case for nested application of genAst * genAst: automatically call newLit when needed * allow skipping `{}`: genAst: foo * add test that shows this fixes #11986 * add examples showing mixin; add examples showing passing types, macros, templates * move to std/genasts * improve docs