Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3104fac1
Commit
3104fac1
authored
May 05, 2006
by
David Himmelstrup
Browse files
Fix bug #763: Breakpoint mechanism crashes when there's a type error.
parent
0fa697bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcRnMonad.lhs
View file @
3104fac1
...
...
@@ -152,9 +152,9 @@ initTc hsc_env hsc_src mod do_this
= mkGlobalId VanillaGlobal breakpointCondJumpName
(basicType (FunTy boolTy)) vanillaIdInfo;
new_env = mkNameEnv [(breakpointJumpName
, A
Global (An
Id breakpointJumpType
)
)
,(breakpointCondJumpName
, A
Global (An
Id breakpointCondJumpType
)
)];
, A
Tc
Id breakpointJumpType
topLevel False
)
,(breakpointCondJumpName
, A
Tc
Id breakpointCondJumpType
topLevel False
)];
};
r <- tryM (updLclEnv (\gbl -> gbl{tcl_env=new_env}) do_this)
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment