Changes between Initial Version and Version 1 of Ticket #1527


Ignore:
Timestamp:
Jul 16, 2007 9:00:48 PM (8 years ago)
Author:
Isaac Dupree
Comment:

Well, exps' is supposed to be a pattern there, so mentioning "pattern" makes sense to me... given the possibilities, it might be more accurate to say "parse error in pattern or expression" ("... or let", to be comprehensive about do-notation possibilities).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1527 – Description

    initial v1  
    11This is just barely a bug.  The following code uses do notation and gets a left arrow in the wrong direction: 
    22 
     3{{{ 
    34tcRho (TupleE exps) (Check exp_ty) 
    45   = do { tys <- unTupleType exp_ty 
     
    78        ; return $ ftuple exps' 
    89        } 
     10}}} 
    911 
    1012The error message is: TxPgm.hs:323:44: Parse error in pattern