From 07a6c0aa65755c6e4a71b9e635109bc22a02f720 Mon Sep 17 00:00:00 2001 From: Ricardo Miguel Durandt Leite De Vasconcelos <68743175+Ricky-Vee@users.noreply.github.com> Date: Sat, 31 Jul 2021 07:27:06 +0100 Subject: [PATCH] Update Pokedex.swift Altered a : for a =, as it was causing an error --- 9-classes/pokedex/Pokedex.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-classes/pokedex/Pokedex.swift b/9-classes/pokedex/Pokedex.swift index 9d7ad17..68c67a5 100644 --- a/9-classes/pokedex/Pokedex.swift +++ b/9-classes/pokedex/Pokedex.swift @@ -4,7 +4,7 @@ class Pokemon { var num = 0 var name = "" var type = [""] - var ability: [""] + var ability = [""] init(num: Int, name: String, type: [String], ability: [String]) { self.num = num