[GHC] #9891: Fixity declarations for pattern synonyms not persisted

GHC ghc-devs at haskell.org
Wed Dec 17 12:18:26 UTC 2014


#9891: Fixity declarations for pattern synonyms not persisted
-------------------------------------+-------------------------------------
              Reporter:  klkblake    |            Owner:  cactus
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:  PatternSynonyms
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Incorrect   |       Blocked By:
  result at runtime                  |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by cactus):

 I can't reproduce it on either GHC 7.8.3 or `0ac059`:


 {{{
 $ ghc --make Bar.hs
 [1 of 2] Compiling Foo              ( Foo.hs, Foo.o )
 [2 of 2] Compiling Main             ( Bar.hs, Bar.o )
 Linking Bar ...
 $ ./Bar
 Success
 $ touch Bar.hs
 $ ghc --make Bar.hs
 [2 of 2] Compiling Main             ( Bar.hs, Bar.o )
 Linking Bar ...
 $ ./Bar
 Success
 }}}



 {{{
 $ ~/prog/haskell/ghc/ghc-build/inplace/bin/ghc-stage2  --make Bar.hs
 [1 of 2] Compiling Foo              ( Foo.hs, Foo.o )
 [2 of 2] Compiling Main             ( Bar.hs, Bar.o )
 WARNING: file compiler/stgSyn/CoreToStg.hs, line 270
   somethingElse True False
 Linking Bar ...
 $ ./Bar
 Success
 $ touch Bar.hs
 $ ~/prog/haskell/ghc/ghc-build/inplace/bin/ghc-stage2  --make Bar.hs
 [2 of 2] Compiling Main             ( Bar.hs, Bar.o )
 WARNING: file compiler/stgSyn/CoreToStg.hs, line 270
   somethingElse True False
 Linking Bar ...
 $ ./Bar
 Success

 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9891#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list