[GHC] #890: ghc panics on accessing a labeled field
GHC
trac at galois.com
Wed Sep 6 12:45:48 EDT 2006
#890: ghc panics on accessing a labeled field
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Resolution: fixed
Keywords: | Os: Windows
Difficulty: Unknown | Architecture: x86
-----------------------+----------------------------------------------------
Changes (by simonpj):
* resolution: => fixed
* status: new => closed
Comment:
I think this is ok in the HEAD:
{{{
Foo10.hs:7:17:
Record update for the non-Haskell-98 data type `Foo' is not (yet)
supported
Use pattern-matching instead
In the expression: x {foo = []}
In the definition of `bar': bar x = x {foo = []}
In the definition for method `bar'
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/890>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list