1. 03 Jul, 2012 2 commits
  2. 15 Mar, 2012 9 commits
  3. 09 Mar, 2012 2 commits
  4. 08 Mar, 2012 2 commits
  5. 07 Mar, 2012 6 commits
  6. 06 Mar, 2012 3 commits
  7. 02 Mar, 2012 1 commit
  8. 19 Feb, 2012 1 commit
  9. 15 Feb, 2012 3 commits
  10. 14 Feb, 2012 5 commits
  11. 13 Feb, 2012 3 commits
  12. 11 Feb, 2012 1 commit
  13. 10 Feb, 2012 2 commits
    • dterei's avatar
      Don't allow implicit qualified imports in GHCi when -XSafe on. · b23a7e55
      dterei authored
      It would be better to actually check the safety of the import but doing
      that requires some significant refactoring of code so punting for
      another day.
      b23a7e55
    • Simon Peyton Jones's avatar
      Complete fix of #5820 · 15ec8835
      Simon Peyton Jones authored
      There are two related changes in here
      
      a) Fix TcRnDriver.setInteractiveContext so that it initialises
         tcg_insts and tcg_fam_insts, as well as the corresponding
         tcg_inst_env and tcg_fam_inst_env fields.  Vital!
      
      b) Fix FamInst.tcExtendLocalFamInstEnv for the GHCi case.
         It had a special HACK to allow family instances to be overridden
         in GHCi.  Fair enough, but
           * It was only affecting the tcg_fam_inst_env, not tcg_fam_insts
           * It overrode home-package instances as well as ones entered
             at the GHCi prompt, which probably wasn't intended.
      
         I fixed both of these, and also narrowed the scope of what it does
         to override only *identical* instances, rather than any ones that
         conflict.  If people yelp about this we can return to the question,
         but for now it narrows the range of the HACK
      15ec8835