Re: [GHC] #7476: -ddump-minimal-imports confused if first line is an import

2012-12-08 Thread GHC
#7476: -ddump-minimal-imports confused if first line is an import
---+
  Reporter:  dag   |  Owner:  igloo   
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  
 Component:  Compiler  |Version:  
Resolution:  fixed |   Keywords:  
Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  | Difficulty:  Unknown 
  Testcase:|  Blockedby:  
  Blocking:|Related:  
---+
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Test added.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7476: -ddump-minimal-imports confused if first line is an import

2012-12-05 Thread GHC
#7476: -ddump-minimal-imports confused if first line is an import
-+--
Reporter:  dag   |   Owner:  igloo   
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Compiler  | Version:  
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonpj):

  * owner:  simonpj => igloo


Comment:

 Fixed.

 Ian: I'm not sure how to set up a regression test for this, becuase it
 involves looking at an output file `M.imports`.  Could you do that please?

 It would do no harm to merge this to 7.6, but it's hardly a big deal.

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7476: -ddump-minimal-imports confused if first line is an import

2012-12-05 Thread GHC
#7476: -ddump-minimal-imports confused if first line is an import
-+--
Reporter:  dag   |   Owner:  simonpj 
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Compiler  | Version:  
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Comment(by simonpj@…):

 commit 156d30d76c87230d1bb5374ccec4aa73387fec9a
 {{{
 Author: Simon Peyton Jones 
 Date:   Tue Dec 4 10:58:36 2012 +

 Fix buglet in -ddump-minimal-imports (Trac #7476)

 We were mixing up the *implicit* import of Prelude
 with a user-written import declaration

  compiler/rename/RnNames.lhs |   40
 +++-
  1 files changed, 27 insertions(+), 13 deletions(-)
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7476: -ddump-minimal-imports confused if first line is an import

2012-12-04 Thread GHC
#7476: -ddump-minimal-imports confused if first line is an import
-+--
Reporter:  dag   |   Owner:  simonpj 
Type:  bug   |  Status:  new 
Priority:  normal|   Milestone:  
   Component:  Compiler  | Version:  
Keywords:|  Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by simonpj):

  * owner:  => simonpj
  * difficulty:  => Unknown


Comment:

 Very strange behaviour!  But the fix turned out to be easy.  I have a
 patch; need to validate before pushing.

 Thank you for reporting this

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs