diff --git a/prototype/doubt-difftool/main.swift b/prototype/doubt-difftool/main.swift index 911bcc732..431592806 100644 --- a/prototype/doubt-difftool/main.swift +++ b/prototype/doubt-difftool/main.swift @@ -55,9 +55,14 @@ func termWithInput(string: String) -> Term? { }) case "object": return try .Keyed(Dictionary(elements: node.namedChildren.map { - guard let range = $0.namedChildren.first?.range else { throw E() } - guard let name = String(string.utf16[String.UTF16View.Index(_offset: range.startIndex)..