summaryrefslogtreecommitdiff
path: root/compiler/rename/RnEnv.hs
Commit message (Collapse)AuthorAgeFilesLines
...
* nameIsLocalOrFrom should include interactive modulesSimon Peyton Jones2015-02-111-3/+3
| | | | | | | | | The provoking cause was Trac #10019, but it revealed that nameIsLocalOrFrom should really include all interactive modules (ones from the 'interactive' package). Previously we had some ad-hoc 'isInteractiveModule' tests with some (but not all) the calls to nameIsLocalOrFrom. See the new comments with Name.nameIsLocalOrFrom.
* Replace .lhs with .hs in compiler commentsYuri de Wit2015-02-091-1/+1
| | | | | | | | | | | | | | Summary: It looks like during .lhs -> .hs switch the comments were not updated. So doing exactly that. Reviewers: austin, jstolarek, hvr, goldfire Reviewed By: austin, jstolarek Subscribers: thomie, goldfire Differential Revision: https://phabricator.haskell.org/D621 GHC Trac Issues: #9986
* Pattern synonym names need to be in scope before renaming bindings (#9889)Dr. ERDI Gergo2015-01-091-1/+1
| | | | I did a bit of refactoring at the same time, needless to say
* For :info, return all matching Names, rather than complaining about ambiguitySimon Peyton Jones2014-12-221-27/+54
| | | | | This fixes Trac #9881, and gives more helpful output in the case of ambiguity. Certainly more helpful than the positively-misleading error we get right now.
* renamer: fix trac issue #9778Carlos Tomé2014-12-051-1/+11
| | | | | | | | | | | | | | | | Summary: Added flag -fwarn-unticked-promoted-constructors Test Plan: test T9778 under tests/rename/should_compile Reviewers: jstolarek, simonpj, austin Reviewed By: jstolarek, simonpj, austin Subscribers: simonpj, goldfire, jstolarek, thomie, carter Differential Revision: https://phabricator.haskell.org/D534 GHC Trac Issues: #9778
* compiler: de-lhs rename/Austin Seipp2014-12-031-0/+1887
Signed-off-by: Austin Seipp <austin@well-typed.com>