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

Migrate to record dot syntax #71

Merged
merged 6 commits into from
Jul 27, 2024
Merged

Migrate to record dot syntax #71

merged 6 commits into from
Jul 27, 2024

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Jul 27, 2024

Fixes #58

This migrates the codebase to the new record dot syntax, which was added in recent GHC versions.

@fwcd fwcd marked this pull request as ready for review July 27, 2024 02:35
Comment on lines +275 to +276
-- Regarding the ambiguous-fields warning, perhaps this is https://gitlab.haskell.org/ghc/ghc/-/issues/21443 ?
let defEntry = (def { projectDir = dirPath, importPaths = importPaths }) :: ModuleStoreEntry
Copy link
Owner Author

@fwcd fwcd Jul 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to test whether #70 will fix this, perhaps with the spelling

(def @ModuleStoreEntry) { ... }

@fwcd fwcd merged commit 0abe995 into main Jul 27, 2024
3 checks passed
@fwcd fwcd deleted the record-dot branch July 27, 2024 10:49
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.

Migrate to OverloadedRecordDot
1 participant