Fixing a dumb issue

This commit is contained in:
Ryan Coyne 2017-11-23 13:20:36 -05:00
parent 65550d3a3a
commit 6cb4d45209
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ extension Array where Iterator.Element == Mirror {
if let label = child.label, String(describing: child.value) != "nil" { if let label = child.label, String(describing: child.value) != "nil" {
allChild[label] = child.value allChild[label] = child.value
} }
} else {
if let label = child.label {
allChild[label] = child.value
}
} }
}) })
} }