Skip to content

Commit 444701c

Browse files
committed
[move-only] Remove a TODO that says we are erroring on the same variable twice. We are no longer doing that in the specific test.
1 parent 8682b17 commit 444701c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/SILOptimizer/moveonly_addresschecker_diagnostics.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3079,8 +3079,6 @@ public func closureClassUseAfterConsumeArg(_ argX: inout Klass) {
30793079
}
30803080

30813081
// We do not support captures of vars by closures today.
3082-
//
3083-
// TODO: Why are we erroring for the same variable twice?
30843082
public func closureCaptureClassUseAfterConsume() {
30853083
var x2 = Klass()
30863084
x2 = Klass()

0 commit comments

Comments
 (0)