Skip to content
  • Alina Banerjee's avatar
    Modify InlineSpec data constructor (helps fix #18138) · 100ffe75
    Alina Banerjee authored and Marge Bot's avatar Marge Bot committed
    The inl_inline field of the InlinePragma record is modified to store pragma
    source text by adding a data constructor of type SourceText. This can help in
    tracking the actual text of pragma names.
    
    Add/modify functions, modify type instance for InlineSpec type
    
    Modify parser, lexer to handle InlineSpec constructors containing SourceText
    
    Modify functions with InlineSpec type
    
    Extract pragma source from InlineSpec for SpecSig, InlineSig types
    
    Modify cvtInline function to add SourceText to InlineSpec type
    
    Extract name for InlineSig, SpecSig from pragma, SpectInstSig from source (fixes #18138)
    
    Extract pragma name for SpecPrag pragma, SpecSig signature
    
    Add Haddock annotation for inlinePragmaName function
    
    Add Haddock annotations for using helper functions in hsSigDoc
    
    Remove redundant ppr in pragma name for SpecSig, InlineSig; update comment
    
    Rename test to T18138 for misplaced SPECIALIZE pragma testcase
    100ffe75