RecordWildCards are not supported #52

Closed
opened 2017-09-08 20:58:43 +02:00 by dplusic · 1 comment
dplusic commented 2017-09-08 20:58:43 +02:00 (Migrated from github.com)

Input:

{-# LANGUAGE RecordWildCards #-}
v = A {a = 1, ..} where b = 2

Error:

ERROR: brittany pretty printer returned syntactically invalid result.
ERROR: encountered unknown syntactical constructs:
RecordCon with puns
Input: ```haskell {-# LANGUAGE RecordWildCards #-} v = A {a = 1, ..} where b = 2 ``` Error: ``` ERROR: brittany pretty printer returned syntactically invalid result. ERROR: encountered unknown syntactical constructs: RecordCon with puns ```
lspitzner commented 2017-10-01 17:28:49 +02:00 (Migrated from github.com)

I think this will work. Although I have not really tested the code for recordwildcards in patterns. Please test and report if there are any issues.

I think this will work. Although I have not really tested the code for recordwildcards in patterns. Please test and report if there are any issues.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#52
There is no content yet.