Ticket #186 (new newbie)

Opened 4 years ago

Last modified 4 years ago

Source.Defix.hs: Non-exhaustive patterns in lambda

Reported by: erikd Owned by:
Priority: normal Milestone:
Component: Source Semantics Version:
Keywords: Cc:

Description

Simple program:

main ()
 = do	list = [1, 2, 3]
	println $ "list " % list % " : " $ show list

currently fails with the error message:

ddc: src/Source/Defix.hs:94:16-31: Non-exhaustive patterns in lambda

The program is wrong but should display a better error message.

Change History

Changed 4 years ago by benl

  • type changed from defect to newbie
Note: See TracTickets for help on using tickets.