File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
test/Incremental/Fingerprints/Inputs/extension-adds-member Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1024,11 +1024,6 @@ Optional<std::string> IterableDeclContext::getBodyFingerprint() const {
1024
1024
1025
1025
bool IterableDeclContext::areTokensHashedForThisBodyInsteadOfInterfaceHash ()
1026
1026
const {
1027
- // Do not keep separate hashes for extension bodies because the dependencies
1028
- // can miss the addition of a member in an extension because there is nothing
1029
- // corresponding to the fingerprinted nominal dependency node.
1030
- if (isa<ExtensionDecl>(this ))
1031
- return false ;
1032
1027
return true ;
1033
1028
}
1034
1029
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ struct A {
3
3
struct B {
4
4
}
5
5
extension A {
6
- var x : Int { 17 }
6
+ init ( _ x: String = " " ) { }
7
7
}
8
8
extension B {
9
9
}
You can’t perform that action at this time.
0 commit comments