Ticket #172 (assigned defect)
Lexer generates incorrect token sequence
| Reported by: | erikd | Owned by: | erikd |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.1.3 |
| Component: | Source Parser | Version: | |
| Keywords: | Cc: |
Description
For the function:
trick2 xs = [ (x, y) | x <- xs , let y = x `mod` 3 ]
the lexer generates a token sequence (ignoring other tokens) of "[ { ] }" where the brackets don't match up properly. Changing the code to:
trick2 xs = [ (x, y) | x <- xs , let y = x `mod` 3 ]
generates the correct sqeuence of "[ { } ]".
Change History
Note: See
TracTickets for help on using
tickets.
