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

Basic explanation of 59692 #534

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noughtmare
Copy link

No description provided.

@@ -0,0 +1,10 @@
---
title: Duplicate instance declarations
summary: An instance has been defined twice for the same type.
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's not necessarily exactly twice, is it? A more precise way to describe this would be, perhaps:

Suggested change
summary: An instance has been defined twice for the same type.
summary: An instance of a class has been defined once again for the same type.

Copy link
Author

Choose a reason for hiding this comment

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

"once again" makes it sound like there was an instance in the past and now there is one once again. Perhaps just "multiple times" instead of "twice" then.

Copy link
Collaborator

Choose a reason for hiding this comment

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

But for the compiler, there was an instance that it saw in the past, only it's very close past: maybe in the same .hs file (but maybe not). So, I don't see a problem here. But "multiple times" works for me too.

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.

2 participants