We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e169361 commit 2019496Copy full SHA for 2019496
test/Constraints/generic_super_constraint.swift
@@ -24,4 +24,4 @@ class IntegerClass : ExpressibleByIntegerLiteral, Equatable {
24
static func ==(lhs: IntegerClass, rhs: IntegerClass) -> Bool { return true }
25
}
26
27
-func foo<T: IntegerClass>(_ num: T) { let x = num != 0 }
+func foo<T: IntegerClass>(_ num: T) { let _ = num != 0 }
0 commit comments