Commit bf2f000a authored by David Waern's avatar David Waern
Browse files

FIX panic from the GHC API

In hscFileCheck, initialize md_vect_info with noVectInfo instead of
a panic value, since this is a strict field.
parent 8ae1a8cf
......@@ -694,8 +694,7 @@ hscFileCheck hsc_env mod_summary compileToCore = do {
md_rules = [panic "no rules"],
-- Rules are CoreRules, not the
-- RuleDecls we get out of the typechecker
md_vect_info =
panic "HscMain.hscFileCheck: no VectInfo"
md_vect_info = noVectInfo
-- VectInfo is added by the Core
-- vectorisation pass
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment