#5657: section suggestion adds backticks to operators
---------------------------------+------------------------------------------
    Reporter:  tinctorius        |       Owner:          
        Type:  bug               |      Status:  new     
    Priority:  normal            |   Component:  Compiler
     Version:  7.2.1             |    Keywords:          
    Testcase:                    |   Blockedby:          
          Os:  Unknown/Multiple  |    Blocking:          
Architecture:  Unknown/Multiple  |     Failure:  Other   
---------------------------------+------------------------------------------
 (I'm reporting this bug as suggested by Andreas Hammar.)

 When the compiler is presented with
 {{{
 [LT..GT]
 }}}
 the following errors are given:
 {{{
 <interactive>:0:2:
     Failed to load interface for `LT'
     Use -v to see a list of the files searched for.

 <interactive>:0:2:
     A section must be enclosed in parentheses thus: (`LT..` GT)
 }}}
 The latter error incorrectly endows `LT..` with backticks; this suggestion
 will not parse. Instead, this is expected:
 {{{
 <interactive>:0:2:
     A section must be enclosed in parentheses thus: (LT.. GT)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5657>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

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

Reply via email to