Skip to content

Non terminating thunk resolution blocks world, even in the case of forkOS

Please see: http://comments.gmane.org/gmane.comp.lang.haskell.cafe/102479

{-# LANGUAGE ScopedTypeVariables #-} import Control.Concurrent

main = do putStrLn "Hello" forkOS neverEnds putStrLn "Bye bye" --We never get here(or at least I don't).

neverEnds = do let (a::String) = a putStrLn a

Trac metadata
Trac field Value
Version 7.4.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture x86_64 (amd64)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information