haskell / haskell/aeson

Parse exception raised for combination of .: and .!=

Open
#1,110 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.3k
Forks
336
Avg merge
3d 7h
Merged PRs (30d)
4

Description

We use aeson-1.4.7.1.

The following code raises an exception:

for the type:
`data = Field {field :: Text}`
`field .: "fieldName" .!= ""` raises an exception.

It would be great if this could raise an compile error instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.