[GHC] #10966: dirtiness checking isn't keeping track of which source file contained Main
GHC
ghc-devs at haskell.org
Thu Oct 15 11:15:00 UTC 2015
#10966: dirtiness checking isn't keeping track of which source file contained Main
-------------------------------------+-------------------------------------
Reporter: gueux | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by thomie):
To reproduce:
{{{
$ ghc Devel.hs -o foo
$ ./foo # prints: "dev". Ok.
$ ghc Main.hs -o foo
$ ./foo # prints: "not dev". Ok.
$ ghc Devel.hs -o foo
$ ./foo # prints: "not dev". Should print "dev" (this is the bug).
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10966#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list