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 {
10241024
10251025bool IterableDeclContext::areTokensHashedForThisBodyInsteadOfInterfaceHash ()
10261026 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 ;
10321027 return true ;
10331028}
10341029
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ struct A {
33struct B {
44}
55extension A {
6- var x : Int { 17 }
6+ init ( _ x: String = " " ) { }
77}
88extension B {
99}
You can’t perform that action at this time.
0 commit comments