Both assignment lines in the code below give me this error:
'@|value $T5' is not identical to 'String'
func PrintShoppingList(myList: Array<String>)
{
println(myList)
var cabbage = "cabbage"
let fish:String = "fish"
myList[0] = cabbage
myList[1] = fish
}
What is wrong?