error-chain icon indicating copy to clipboard operation
error-chain copied to clipboard

Redesign syntax as a proc macro

Open brson opened this issue 8 years ago • 2 comments
trafficstars

There are a lot of deficiencies with the current syntax that are pretty hard to resolve as a macro_rules macro:

This is a lot of constraints and demands a complete redesign.

brson avatar Jul 24 '17 18:07 brson

Maybe take inspiration from/merge with https://github.com/Arnavion/derive-error-chain

Yamakaky avatar Jul 24 '17 20:07 Yamakaky

Previous discussion of merging derive-error-chain into this repository is at https://github.com/Arnavion/derive-error-chain/issues/11

If the goal is to completely replace the existing macro_rules macro with a custom derive, then my concerns in that issue do not apply and I would be happy to merge its code here.

Arnavion avatar Aug 07 '17 23:08 Arnavion