xcode 8 beta 3: Expected ',' joining parts of a multi-clause condition

后端 未结 1 1097
栀梦
栀梦 2020-11-29 09:46

Getting a new warning in xcode 8 beta 3. What is wrong with this syntax, or is there a bug in xcode?

SwiftyJSON.swift:772:35: Expected \',\' joining parts of a mult

相关标签:
1条回答
  • 2020-11-29 10:46

    It seems this feature has been included: 0099-conditionclauses.md

    Try this:

    if let errorValue = error, errorValue.code == ErrorNotExist {
    }
    
    0 讨论(0)
提交回复
热议问题