update code to Swift 4.1
This commit is contained in:
@@ -24,7 +24,7 @@ final class KeyPath {
|
||||
subscriptLevel = 0
|
||||
}
|
||||
|
||||
for c in variable.characters {
|
||||
for c in variable {
|
||||
switch c {
|
||||
case "." where subscriptLevel == 0:
|
||||
try foundSeparator()
|
||||
|
||||
Reference in New Issue
Block a user