I'm slicing an array of strings and setting that to a [String]
variable, but the type checker is complaining. Is it a possible compiler bug?
var tags = ["this", "is", "cool"]
tags[1..<3]
var someTags: [String] = tags[1..<3]
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…