Ticket #1411 (closed bug: fixed)

Opened 6 years ago

Last modified 4 years ago

Typo in type error for lazy patterns

Reported by: guest Owned by:
Priority: low Milestone:
Component: Compiler (Type checker) Version: 6.7
Keywords: typo Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

There's a small typo in one of the type-error messages for lazy patterns. I've attached a patch that fixes it.

[Corrected typo in compiler/typecheck/TcPat.lhs: stefan@…**20070601054931

  • connot ===> cannot

] { hunk ./compiler/typecheck/TcPat.lhs 958 - hang (ptext SLIT("A lazy (~) pattern connot bind existential type variables ")) + hang (ptext SLIT("A lazy (~) pattern cannot bind existential type variables ")) }

Change History

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Thanks for the report! Now fixed.

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple

Changed 4 years ago by simonmar

  • difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.