Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BSC to compile with GHC 9.8.1 #625

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

quark17
Copy link
Collaborator

@quark17 quark17 commented Oct 11, 2023

As mentioned in a recent comment on issue #469, newer GHC and core libraries give a warning on uses of these partial functions that fail when the input is an empty list. Some files turn on -Werror to promote warnings to errors, causing compilation to fail. Those occurrences are addressed; others still remain and will need to be resolved later.

by replacing uses of 'head' and 'tail' in files that promote warnings
to errors.  Newer GHC and core libraries give a warning on uses of
these partial functions that fail when the input is an empty list.
When these warnings elevated to errors, they prevented compilation,
and those occurrences are addressed.  Other occurrences still remain
and will need to be resolved later.
@quark17 quark17 merged commit da4b93f into B-Lang-org:main Oct 13, 2023
33 checks passed
@quark17 quark17 deleted the ghc-9.8.1 branch October 13, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant