X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FByteCodeGen.lhs;h=444fe873152939fa05bad11013d6cdaf0860afc5;hb=f3e5a3add2e8b5f878be96d7b04ef52e3c39a211;hp=ca66250c8b67b8785b101ef0e2c711e5b22cd72f;hpb=cdce647711c0f46f5799b24de087622cb77e647f;p=ghc-hetmet.git diff --git a/compiler/ghci/ByteCodeGen.lhs b/compiler/ghci/ByteCodeGen.lhs index ca66250..444fe87 100644 --- a/compiler/ghci/ByteCodeGen.lhs +++ b/compiler/ghci/ByteCodeGen.lhs @@ -298,6 +298,7 @@ schemeER_wrk d p rhs { breakInfo_module = tickInfo_module tickInfo , breakInfo_number = tickNumber , breakInfo_vars = idOffSets + , breakInfo_resty = exprType (deAnnotate' newRhs) } let breakInstr = case arr of (BA arr#) -> BRK_FUN arr# tickNumber breakInfo return $ breakInstr `consOL` code @@ -1446,7 +1447,7 @@ runBc :: UniqSupply -> ModBreaks -> BcM r -> IO (BcM_State, r) runBc us modBreaks (BcM m) = m (BcM_State us 0 [] breakArray) where - breakArray = modBreaks_array modBreaks + breakArray = modBreaks_flags modBreaks thenBc :: BcM a -> (a -> BcM b) -> BcM b thenBc (BcM expr) cont = BcM $ \st0 -> do