Re: Get AST for type in macro

2019-07-18 Thread kaushalmodi
You are welcome! I am surprised I was able to answer a macro-related question :D (Well, my Nim macro knowledge is limited to just about that :P).

Re: Get AST for type in macro

2019-07-18 Thread GULPF
@kaushalmodi Thank you!

Re: Get AST for type in macro

2019-07-18 Thread kaushalmodi
@GULPF Do you mean something like this? [https://play.nim-lang.org/#ix=1MUr](https://play.nim-lang.org/#ix=1MUr) (click Run, and if the tab next to is says "Showing: output", click on that so that it switches to "Showing: debug").

Re: Get AST for type in macro

2019-07-18 Thread kaushalmodi
Using your example: [https://play.nim-lang.org/#ix=1OOM](https://play.nim-lang.org/#ix=1OOM)