mirror of
https://github.com/github/semantic.git
synced 2024-11-29 11:02:26 +03:00
Scope the JSON constructor correctly.
This commit is contained in:
parent
05e1b97c90
commit
4512b6f2e7
@ -98,7 +98,7 @@ extension Fix where A: StringConvertible {
|
||||
.map(Structure.init)
|
||||
.map({ $0.dictionary })
|
||||
.map(toAnyObject)
|
||||
.flatMap({ JSON(object: $0).flatMap { Fix(path: path, JSON: $0) } }) else { return nil }
|
||||
.flatMap({ Doubt.JSON(object: $0).flatMap { Fix(path: path, JSON: $0) } }) else { return nil }
|
||||
self = term
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user