Skip to content
Snippets Groups Projects
  • Alan Zimmerman's avatar
    1a7621a4
    API Annotations tweaks. · 1a7621a4
    Alan Zimmerman authored and thoughtpolice's avatar thoughtpolice committed
    Summary:
    HsTyLit now has SourceText
    
    Update documentation of HsSyn to reflect which annotations are attached to which element.
    
    Ensure that the parser always keeps HsSCC and HsTickPragma values, to
    be ignored in the desugar phase if not needed
    
    Bringing in SourceText for pragmas
    
    Add Location in NPlusKPat
    
    Add Location in FunDep
    
    Make RecCon payload Located
    
    Explicitly add AnnVal to RdrName where it is compound
    
    Add Location in IPBind
    
    Add Location to name in IEThingAbs
    
    Add Maybe (Located id,Bool) to Match to track fun_id,infix
      This includes converting Match into a record and adding a note about why
      the fun_id needs to be replicated in the Match.
    
    Add Location in KindedTyVar
    
    Sort out semi-colons for parsing
    
      - import statements
      - stmts
      - decls
      - decls_cls
      - decls_inst
    
    This updates the haddock submodule.
    
    Test Plan: ./validate
    
    Reviewers: hvr, austin, goldfire, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D538
    
    (cherry picked from commit 11881ec6)
    1a7621a4
    History
    API Annotations tweaks.
    Alan Zimmerman authored and thoughtpolice's avatar thoughtpolice committed
    Summary:
    HsTyLit now has SourceText
    
    Update documentation of HsSyn to reflect which annotations are attached to which element.
    
    Ensure that the parser always keeps HsSCC and HsTickPragma values, to
    be ignored in the desugar phase if not needed
    
    Bringing in SourceText for pragmas
    
    Add Location in NPlusKPat
    
    Add Location in FunDep
    
    Make RecCon payload Located
    
    Explicitly add AnnVal to RdrName where it is compound
    
    Add Location in IPBind
    
    Add Location to name in IEThingAbs
    
    Add Maybe (Located id,Bool) to Match to track fun_id,infix
      This includes converting Match into a record and adding a note about why
      the fun_id needs to be replicated in the Match.
    
    Add Location in KindedTyVar
    
    Sort out semi-colons for parsing
    
      - import statements
      - stmts
      - decls
      - decls_cls
      - decls_inst
    
    This updates the haddock submodule.
    
    Test Plan: ./validate
    
    Reviewers: hvr, austin, goldfire, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D538
    
    (cherry picked from commit 11881ec6)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Desugar.hs 19.48 KiB