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

Report errors for duplicate definitions #294

Merged
merged 1 commit into from
Sep 27, 2018
Merged

Report errors for duplicate definitions #294

merged 1 commit into from
Sep 27, 2018

Conversation

mikusp
Copy link

@mikusp mikusp commented Sep 25, 2018

Pull Request Description

This pull request introduces errors for most of duplicate definition scenarios, with one exception. Namely, whenever we have two class definitions without explicit constructors, errors won't be shown at callsite. I'm not sure why is this happening, I tried to set error on Record node, but it seems to be unused for constructor resolution. @kustosz if you could help here, I would greatly appreciate it.
zrzut ekranu z 2018-09-25 14-12-07

Important Notes

Error messages are subject to change if you have any improvement requests.

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • The code conforms to the Luna Style Guide.
  • The code has been tested where possible.

@mikusp mikusp self-assigned this Sep 25, 2018
@mikusp mikusp merged commit e233e5f into master Sep 27, 2018
@mikusp mikusp deleted the duplicates branch September 27, 2018 09:45
turion pushed a commit to turion/luna that referenced this pull request Jun 25, 2019
@iamrecursion iamrecursion mentioned this pull request Jun 23, 2020
18 tasks
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.

None yet

2 participants