Skip to content

Commit 6b8983d

Browse files
authored
Merge pull request #29592 from rxwei/TF-1133-windows-fix
[AutoDiff] Fix windows build failure introduced in #29590.
2 parents ba93f64 + b14d668 commit 6b8983d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/AutoDiff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ template <> struct DenseMapInfo<SILAutoDiffDerivativeFunctionKey> {
622622
return lhs.originalType == rhs.originalType &&
623623
lhs.parameterIndices == rhs.parameterIndices &&
624624
lhs.resultIndices == rhs.resultIndices &&
625-
lhs.kind == rhs.kind &&
625+
lhs.kind.rawValue == rhs.kind.rawValue &&
626626
lhs.derivativeFnGenSig == rhs.derivativeFnGenSig &&
627627
lhs.isReabstractionThunk == rhs.isReabstractionThunk;
628628
}

0 commit comments

Comments
 (0)