Skip to content
Snippets Groups Projects
Commit 36a75b80 authored by Andrei Borzenkov's avatar Andrei Borzenkov Committed by Marge Bot
Browse files

Change how invisible patterns represented in haskell syntax and TH AST (#24557)

Before this patch:
  data ArgPat p
    = InvisPat (LHsType p)
    | VisPat (LPat p)

With this patch:
  data Pat p
    = ...
    | InvisPat (LHsType p)
    ...

And the same transformation in the TH land. The rest of the
changes is just updating code to handle new AST and writing tests
to check if it is possible to create invalid states using TH.

Metric Increase:
    MultiLayerModulesTH_OneShot
parent 82cfe10c
No related branches found
No related tags found
Loading
Showing
with 150 additions and 287 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment