[GHC] #11652: Cyclical dependencies aren't reported in pure functions
GHC
ghc-devs at haskell.org
Sat Feb 27 03:24:46 UTC 2016
#11652: Cyclical dependencies aren't reported in pure functions
-------------------------------------+-------------------------------------
Reporter: keynan | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: GHC accepts
Unknown/Multiple | invalid program
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
No compile error. found in 7.10.2
{{{#!hs
main :: IO ()
main = do
putStrLn $ "Hello " ++ (show x)
where
x = y + 1
y = x + 1
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11652>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list