Re: [GHC] #7210: Bang in front of type name crashes GHC

2012-10-11 Thread GHC
#7210: Bang in front of type name crashes GHC
-+--
  Reporter:  tibbe   |  Owner:  
  Type:  bug | Status:  closed  
  Priority:  normal  |  Milestone:  
 Component:  Compiler|Version:  7.6.1-rc1   
Resolution:  fixed   |   Keywords:  
Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash  | Difficulty:  Unknown 
  Testcase:  |  Blockedby:  
  Blocking:  |Related:  
-+--
Changes (by igloo):

  * status:  merge => closed


Comment:

 Merged as ab37826bdee6896274a8810160b625f9b0b8f9ab

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7210: Bang in front of type name crashes GHC

2012-09-26 Thread GHC
#7210: Bang in front of type name crashes GHC
-+--
  Reporter:  tibbe   |  Owner:  
  Type:  bug | Status:  merge   
  Priority:  normal  |  Milestone:  
 Component:  Compiler|Version:  7.6.1-rc1   
Resolution:  fixed   |   Keywords:  
Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash  | Difficulty:  Unknown 
  Testcase:  |  Blockedby:  
  Blocking:  |Related:  
-+--
Changes (by simonpj):

  * status:  closed => merge


Comment:

 I think it'd be good to merge this to the 7.6 branch; cf #7271

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7210: Bang in front of type name crashes GHC

2012-09-17 Thread GHC
#7210: Bang in front of type name crashes GHC
-+--
  Reporter:  tibbe   |  Owner:  
  Type:  bug | Status:  closed  
  Priority:  normal  |  Milestone:  
 Component:  Compiler|Version:  7.6.1-rc1   
Resolution:  fixed   |   Keywords:  
Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash  | Difficulty:  Unknown 
  Testcase:  |  Blockedby:  
  Blocking:  |Related:  
-+--

Comment(by simonpj):

 Paolo: did you add a regression test?  It'd be good to add it to the "test
 case" field of the ticket.  Thanks

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7210: Bang in front of type name crashes GHC

2012-09-06 Thread GHC
#7210: Bang in front of type name crashes GHC
-+--
  Reporter:  tibbe   |  Owner:  
  Type:  bug | Status:  closed  
  Priority:  normal  |  Milestone:  
 Component:  Compiler|Version:  7.6.1-rc1   
Resolution:  fixed   |   Keywords:  
Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash  | Difficulty:  Unknown 
  Testcase:  |  Blockedby:  
  Blocking:  |Related:  
-+--
Changes (by pcapriotti):

  * status:  patch => closed
  * difficulty:  => Unknown
  * resolution:  => fixed


Comment:

 Thanks for the patch.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7210: Bang in front of type name crashes GHC

2012-09-06 Thread GHC
#7210: Bang in front of type name crashes GHC
+---
 Reporter:  tibbe   |  Owner:  
 Type:  bug | Status:  patch   
 Priority:  normal  |  Component:  Compiler
  Version:  7.6.1-rc1   |   Keywords:  
   Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |   Testcase:  
Blockedby:  |   Blocking:  
  Related:  |  
+---

Comment(by patrick@…):

 commit 62da65a6ba728603b0ee4dab31cd9d59123f3135
 {{{
 Author: Patrick Palka 
 Date:   Mon Sep 3 10:27:26 2012 -0400

 Fail nicely when encountering an invalid bang annotation (#7210)

  compiler/typecheck/TcHsType.lhs |6 +-
  1 files changed, 5 insertions(+), 1 deletions(-)
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7210: Bang in front of type name crashes GHC

2012-09-03 Thread GHC
#7210: Bang in front of type name crashes GHC
+---
 Reporter:  tibbe   |  Owner:  
 Type:  bug | Status:  patch   
 Priority:  normal  |  Component:  Compiler
  Version:  7.6.1-rc1   |   Keywords:  
   Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |   Testcase:  
Blockedby:  |   Blocking:  
  Related:  |  
+---
Changes (by parcs):

  * status:  new => patch


Comment:

 I've attached a patch that seems to fix this issue.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #7210: Bang in front of type name crashes GHC

2012-09-02 Thread GHC
#7210: Bang in front of type name crashes GHC
+---
 Reporter:  tibbe   |  Owner:  
 Type:  bug | Status:  new 
 Priority:  normal  |  Component:  Compiler
  Version:  7.6.1-rc1   |   Keywords:  
   Os:  Unknown/Multiple|   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |   Testcase:  
Blockedby:  |   Blocking:  
  Related:  |  
+---
 When adding a bang to a type constructor applied to a type, I forgot to
 surround it with parenthesis:

 {{{
 module Test where

 import Data.IntMap

 data T = C { f :: !IntMap Int }
 }}}

 leading to the following crash:

 {{{
 [1 of 1] Compiling Test ( Control/Distributed/Hayride/Test.hs,
 interpreted )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.0.20120810 for x86_64-unknown-linux):
 tc_hs_type: bang

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs