haskell / haskell/happy

Ignore individual warnings in generated code, rather than all warnings.

Open
#294 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
322
Forks
86
PR merge metrics
No merged PRs in 30d

Description

In the words of @andreasabel [here](https://github.com/haskell/happy/issues/24#issuecomment-2349194443):

Put a long list of warning flags like {-# OPTIONS_GHC -Wwarn-tabs #-} in the preamble that we know we wouldn't trigger.

I voiced my concerns about lacking compatibility with future GHC versions [here](https://github.com/haskell/happy/issues/24#issuecomment-2348533530).

Contributor guide

Open the contributing guide

Research direction

Start with the requested warning-flag approach and read the linked comments in issue #24, especially the compatibility concern about future GHC versions. Determine how generated-code warnings are currently suppressed and define completion as ignoring only known individual warnings without breaking compatibility with newer GHC versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.