Ticket #172 (assigned defect)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by erikd

  • owner set to erikd
  • status changed from new to assigned

Changed 5 years ago by erikd

This bug depends on and can't really be worked on until #171 is fixed.

Changed 5 years ago by erikd

This is a simpler version of bug #161.

Note: See TracTickets for help on using tickets.