mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Actually set up the 'rawValue' argument label on derived enum initializers.
Somehow, protocol conformance checking didn't actually care that this was missing... Swift SVN r21898
This commit is contained in:
@@ -81,7 +81,7 @@ public func < (lhs: Bit, rhs: Bit) -> Bool {
|
||||
|
||||
extension Bit : IntegerArithmeticType {
|
||||
static func _withOverflow(v: (Int, overflow: Bool)) -> (Bit, overflow: Bool) {
|
||||
return (Bit(v.0)!, v.overflow)
|
||||
return (Bit(rawValue: v.0)!, v.overflow)
|
||||
}
|
||||
|
||||
public static func addWithOverflow(
|
||||
|
||||
Reference in New Issue
Block a user