[GHC] #10214: parser: TransStmt has incorrect SrcSpan

#10214: parser: TransStmt has incorrect SrcSpan -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 (Parser) | Operating System: Unknown/Multiple Keywords: | Type of failure: Other ApiAnnotations | Blocked By: Architecture: | Related Tickets: Unknown/Multiple | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- The production for `squals` is. {{{#!hs squals :: { Located [LStmt RdrName (LHsExpr RdrName)] } -- In reverse order, because the last -- one can "grab" the earlier ones : squals ',' transformqual {% addAnnotation (gl $ last $ unLoc $1) AnnComma (gl $2) >> return (sLL $1 $> [L (getLoc $3) ((unLoc $3) (reverse (unLoc $1)))]) } }}} The location of the whole statement is set to that `transformqual` when it fact it should encompass the whole production. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10214 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10214: parser: TransStmt has incorrect SrcSpan -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 (Parser) | Keywords: Resolution: | ApiAnnotations Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by alanz): * milestone: => 7.10.2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10214#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10214: parser: TransStmt has incorrect SrcSpan -------------------------------------+------------------------------------- Reporter: mpickering | Owner: alanz Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 (Parser) | Keywords: Resolution: | ApiAnnotations Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by alanz): * owner: => alanz -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10214#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10214: parser: TransStmt has incorrect SrcSpan -------------------------------------+------------------------------------- Reporter: mpickering | Owner: alanz Type: bug | Status: patch Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 (Parser) | Keywords: Resolution: | ApiAnnotations Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by alanz): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10214#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10214: parser: TransStmt has incorrect SrcSpan -------------------------------------+------------------------------------- Reporter: mpickering | Owner: alanz Type: bug | Status: patch Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 (Parser) | Keywords: Resolution: | ApiAnnotations Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D806 -------------------------------------+------------------------------------- Changes (by alanz): * differential: => Phab:D806 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10214#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10214: parser: TransStmt has incorrect SrcSpan
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: alanz
Type: bug | Status: patch
Priority: normal | Milestone: 7.10.2
Component: Compiler | Version: 7.10.1
(Parser) | Keywords:
Resolution: | ApiAnnotations
Operating System: Unknown/Multiple | Architecture:
Type of failure: Other | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions: Phab:D806
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#10214: parser: TransStmt has incorrect SrcSpan -------------------------------------+------------------------------------- Reporter: mpickering | Owner: alanz Type: bug | Status: closed Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 (Parser) | Keywords: Resolution: fixed | ApiAnnotations Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D806 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed Comment: Merged to `ghc-7.10` and `master`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10214#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC