X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FHscMain.lhs;h=282ec0f2cc19ef2b22079e1486e659835244cdaa;hp=b4026e8b0ec814d2f6c8f7ce1375c49b428ba03f;hb=e5f78a4a5309b598d5195aa49a0bf7a206942cea;hpb=fb57f87ad779852b3bbcd96617fb211a8821d857 diff --git a/compiler/main/HscMain.lhs b/compiler/main/HscMain.lhs index b4026e8..282ec0f 100644 --- a/compiler/main/HscMain.lhs +++ b/compiler/main/HscMain.lhs @@ -682,9 +682,14 @@ hscFileCheck hsc_env mod_summary = do { md_insts = tcg_insts tc_result, md_fam_insts = tcg_fam_insts tc_result, md_modBreaks = emptyModBreaks, - md_rules = [panic "no rules"] } + 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" + -- VectInfo is added by the Core + -- vectorisation pass + } rnInfo = do decl <- tcg_rn_decls tc_result imports <- tcg_rn_imports tc_result let exports = tcg_rn_exports tc_result