Opened 3 years ago

Closed 3 years ago

#10280 closed bug (fixed)

ApiAnnotations : AnnComma missing in TupleSection

Reported by: alanz Owned by: alanz
Priority: normal Milestone: 7.10.2
Component: Compiler (Parser) Version: 7.10.1
Keywords: ApiAnnotations Cc: mpickering
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D834
Wiki Page:

Description

For the following code

{-# LANGUAGE TupleSections #-}

foo = do
  liftIO $ atomicModifyIORef ciTokens ((,()) . f)

the annotation is missing for the comma.

Change History (4)

comment:1 Changed 3 years ago by alanz

Differential Rev(s): Phab:D834

comment:2 Changed 3 years ago by alanz

Status: newpatch

comment:3 Changed 3 years ago by Alan Zimmerman <alan.zimm@…>

In 225df19a87d8de8245db84d558618f4824631acc/ghc:

ApiAnnotations : AnnComma missing in TupleSection

Summary:
For the following code

  {-# LANGUAGE TupleSections #-}

  foo = do
    liftIO $ atomicModifyIORef ciTokens ((,()) . f)

the annotation is missing for the comma.

Test Plan: ./validate

Reviewers: hvr, austin

Reviewed By: austin

Subscribers: bgamari, thomie

Differential Revision: https://phabricator.haskell.org/D834

GHC Trac Issues: #10280

comment:4 Changed 3 years ago by thoughtpolice

Resolution: fixed
Status: patchclosed

Merged to ghc-7.10.

Note: See TracTickets for help on using tickets.