-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Merged Declarations for Classes and Interfaces #3333
Merged
aozgaa
merged 37 commits into
microsoft:master
from
aozgaa:mergedDeclarationClassInterface
Jul 2, 2015
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
813d227
classInterface: changed excludes flags
18abf47
Revert "classInterface: changed excludes flags"
05500f4
Added merged declarations for ambient class/interfaces
6b8d033
Merge branch 'master' into mergedDeclarationClassInterface
6c98c67
added conformance tests
b864df2
New Baselines for class-interface merging
ed46bc3
Fixed intendation typo
d25b910
fixed indentation
1f74b13
fixed style, added comment
2d77cbd
cleaner hasNonAmbientClass
edc4611
removed comma
a50ab3e
Remove checking in declareSymbol
90e1955
merge compatiblity now performed in checker.ts
c629c3f
deleted redundant tests
e4bc29e
Updated tests
b293da4
updated baselines
936aea8
fixed merge conflict
0917582
removed extra newlines
fa06f3e
fixed merge conflict.
fa9b6fc
fixed loops, merged baseline
9e1ab92
merged with master
f3278e2
fixed a grammatical issue
2b899f1
simplified check
29c9286
Updated error message
d000e01
updated baselines to reflect new error message
143890b
New test
323ce24
new baselines got mergeClassInterfaceAndModule
365ea3d
Check for ambient context instead of ambient flag
015c2c1
Merge branch 'master' into mergedDeclarationClassInterface
5ef426c
new baselines
3a3479d
New Test and Baseline
19b0c51
merged master
91e3a5c
updated baselines
851c7e4
fixed comment, spacing
4878cce
merged with master
c06e5eb
Update test
3af3177
update baselines
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, you can just check
symbol.flags & SymbolFlags.Class
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, need to check if the class is in an ambient context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work for
Since the module occupies the value space, the blanket check looking at the symbol will trigger an error, but the merge should be able to go through.