We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9218fa3 commit 7ca0b47Copy full SHA for 7ca0b47
compiler/lib/source_map_io.yojson.ml
@@ -107,7 +107,7 @@ let of_json json =
107
Option.map
108
(fun mappings ->
109
assert (
110
- String.length mappings > 2
+ String.length mappings >= 2
111
&& Char.equal mappings.[0] '"'
112
&& Char.equal mappings.[String.length mappings - 1] '"');
113
let mappings = String.sub mappings 1 (String.length mappings - 2) in
0 commit comments