> Nice to know this exists, but I want the switch / case / match to generate 
> different code depending on the node-kind that is being passed.

Then when you are on the development branch of nim, `error` has a second 
optional argument, that allows you to pass a NimNode, so that positional 
information from that node gets printed on the cosole whe the error occurs.

Reply via email to