|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[GHC] #3645: Layout and pragmas#3645: Layout and pragmas
--------------------------------+------------------------------------------- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal | Milestone: 6.14.1 Component: Compiler (Parser) | Version: 6.10.4 Severity: normal | Keywords: Difficulty: Unknown | Testcase: Os: Unknown/Multiple | Architecture: Unknown/Multiple --------------------------------+------------------------------------------- With this module: {{{ {-# LANGUAGE DeriveDataTypeable, FlexibleContexts #-} module Foo where }}} GHC 6.12 says: {{{ Cannot parse LANGUAGE pragma Expecting comma-separated list of language options, each starting with a capital letter E.g. {-# LANGUAGE RecordPuns, Generics #-} }}} but this should probably be allowed. See #3519, #3616. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3645> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
|
Re: [GHC] #3645: Layout and pragmas#3645: Layout and pragmas
----------------------------------+----------------------------------------- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal | Milestone: 6.14.1 Component: Compiler (Parser) | Version: 6.10.4 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Os: Unknown/Multiple Architecture: Unknown/Multiple | ----------------------------------+----------------------------------------- Comment (by eflister): just to be super pedantic, i want to make sure the following would be ok too. :) afaik, lots of people use this kind of layout to make toggling lines via comments as easy as possible. {{{ {-# LANGUAGE EmptyDataDecls , MultiParamTypeClasses #-} }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3645#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
|
Re: [GHC] #3645: Layout and pragmas#3645: Layout and pragmas
----------------------------------+----------------------------------------- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal | Milestone: 6.14.1 Component: Compiler (Parser) | Version: 6.10.4 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Os: Unknown/Multiple Architecture: Unknown/Multiple | ----------------------------------+----------------------------------------- Comment (by eflister): whoops, to be really explicit, i should include a comment example: {{{ {-# LANGUAGE EmptyDataDecls , MultiParamTypeClasses -- , RecordPuns , Generics -- , DeriveDataTypeable , FlexibleContexts #-} }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3645#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
|
Re: [GHC] #3645: Layout and pragmas#3645: Layout and pragmas
----------------------------------+----------------------------------------- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal | Milestone: 6.14.1 Component: Compiler (Parser) | Version: 6.10.4 Severity: normal | Resolution: Keywords: | Difficulty: Unknown Testcase: | Os: Unknown/Multiple Architecture: Unknown/Multiple | ----------------------------------+----------------------------------------- Changes (by eflister): * cc: erik.flister@... (added) -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3645#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
|
|
Re: [GHC] #3645: Layout and pragmas#3645: Layout and pragmas
--------------------------------+------------------------------------------- Reporter: igloo | Owner: Type: feature request | Status: new Priority: normal | Milestone: 6.14.1 Component: Compiler (Parser) | Version: 6.10.4 Resolution: | Keywords: Difficulty: Unknown | Os: Unknown/Multiple Testcase: | Architecture: Unknown/Multiple Failure: None/Unknown | --------------------------------+------------------------------------------- Changes (by guest): * failure: => None/Unknown * type: bug => feature request -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3645#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@... http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs |
| Free embeddable forum powered by Nabble | Forum Help |