xcode 8 beta 3: 预期 ',' 连接多子句条件的部分
xcode 8 beta 3: Expected ',' joining parts of a multi-clause condition
在 xcode 8 beta 3 中收到新警告。此语法有什么问题,或者 xcode 中是否存在错误?
SwiftyJSON.swift:772:35: 预期 ',' 连接多子句条件的部分
if let errorValue = error where errorValue.code == ErrorNotExist {
}
似乎已包含此功能:
0099-conditionclauses.md
试试这个:
if let errorValue = error, errorValue.code == ErrorNotExist {
}
在 xcode 8 beta 3 中收到新警告。此语法有什么问题,或者 xcode 中是否存在错误?
SwiftyJSON.swift:772:35: 预期 ',' 连接多子句条件的部分
if let errorValue = error where errorValue.code == ErrorNotExist {
}
似乎已包含此功能: 0099-conditionclauses.md
试试这个:
if let errorValue = error, errorValue.code == ErrorNotExist {
}