Ticket #40 (closed bug report: fixed)

Opened 5 years ago

Last modified 5 years ago

Error parsing (Prelude..)

Reported by: nibro Owned by: nibro
Priority: major Milestone: Full code support
Component: parser Version: 0.5.4
Keywords: Cc:

Description

The infamous dot-dot problem with the old infix qualified operator syntax. While HSE happily parses (Prelude.++) it fails to parse it if the used operator is (.).

twoDots = (Prelude..)

Change History

Changed 5 years ago by nibro

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

Actually this had nothing to do with the old infix qualified operator syntax at all. The problem was that I had added '.' as a reserved operator (which cannot be qualified) instead of a special operator (which can be qualified) when introducing explicit forall syntax. I also forgot to check that explicit forall syntax was actually enabled in the first place (this only matters for operators that really are reserved though). So two bugs in one, both fixed. Case closed.

Note: See TracTickets for help on using tickets.