Skip to content

Do not report errors for classes and interfaces merging#5290

Merged
mhegazy merged 2 commits into
masterfrom
interfaceClassMergingFix
Oct 16, 2015
Merged

Do not report errors for classes and interfaces merging#5290
mhegazy merged 2 commits into
masterfrom
interfaceClassMergingFix

Conversation

@mhegazy

@mhegazy mhegazy commented Oct 16, 2015

Copy link
Copy Markdown
Contributor

As discussed in #5269, this removes the restriction for non-ambient classes merging with interfaces.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I kind of expected the last method to be interfaceBarMethod(); since all the others are used and classFooMethod() appears twice.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done.

@sandersn

Copy link
Copy Markdown
Member

One small comment, otherwise 👍

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove // error comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done.

@ahejlsberg

Copy link
Copy Markdown
Member

👍

mhegazy added a commit that referenced this pull request Oct 16, 2015
Do not report errors for classes and interfaces merging
@mhegazy mhegazy merged commit bb369f1 into master Oct 16, 2015
@mhegazy mhegazy deleted the interfaceClassMergingFix branch October 16, 2015 23:45
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants