Skip to content
Snippets Groups Projects
Unverified Commit 349f83e7 authored by Andrei Borzenkov's avatar Andrei Borzenkov
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 0acfe391
No related branches found
No related merge requests found
Pipeline #92356 passed
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