[GHC] #1128: The impossible happened, code commented
GHC
trac at galois.com
Wed Jan 31 02:23:56 EST 2007
#1128: The impossible happened, code commented
-------------------------+--------------------------------------------------
Reporter: humasect | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6.1
Component: Compiler | Version: 6.6
Severity: major | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
initializeWorld = (\w -> do
worldSetGravity w 0 (-1.0) 0
worldSetERP w 0.2
worldSetCFM w 1e-5
worldSetContactMaxCorrectingVel w 0.9
worldSetContactSurfaceLayer w 0.001
worldSetAutoDisableFlag w 1),
these worldSet* functions are unsafe FFI calls. initializeWorld is Ptr Int
-> IO ()
commenting this prevents this bug. this code is found in a top level
declaration:
initiailLevel = Level {
...
}
of which contains the record for initializeWorld
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1128>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list