diff --git a/prototype/doubt-difftool/main.swift b/prototype/doubt-difftool/main.swift index 648bcba80..7d8c07485 100644 --- a/prototype/doubt-difftool/main.swift +++ b/prototype/doubt-difftool/main.swift @@ -45,7 +45,7 @@ if let a = arguments[1] { guard count > 0 else { return String.fromCString(ts_node_string(node, document)).map(Syntax.Leaf)! } - return String.fromCString(ts_node_string(node, document)).map(Syntax.Leaf)! + return .Indexed((0..