The HsExpansion
mechanism so far only applied to expressions. This MR extends it to patterns, and uses that to desugar overloaded lists.
Fixes #14380 (closed) and #19997 (closed).
The HsExpansion
mechanism so far only applied to expressions. This MR extends it to patterns, and uses that to desugar overloaded lists.
Fixes #14380 (closed) and #19997 (closed).