Re-evaluate and rationalize how errors are de-duplicated #54343
Open
Description
(Follow-on from a discussion in stand-up.)
For more context see #54338 which proposes removing some duplication checks from constant evaluation. The short-term result would be a degraded UX which may not be a good bargain. (The cost is possibly messier code -- though there isn't complete agreement there.) Net-net: in the long run it would be interesting to evaluate other approaches to error de-duplication.