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 6d84c1c commit bf68289Copy full SHA for bf68289
CHANGES.md
@@ -6,6 +6,7 @@
6
- Add custom `ocamllsp/jumpToTypedHole` to navigate through typed holes (#1516)
7
- Add a code-action for combining pattern cases (just relaying on regex) (#1514)
8
- Allow (by configuration) shortening of diagnostics (just highlighting the first line) (#1513)
9
+- Fix `yojson_of_t` for `Nullable_option`: serialize `None` as `Null` instead of asserting false (#1525 fixes #1524)
10
11
## Fixes
12
lsp/src/import.ml
@@ -216,7 +216,7 @@ module Json = struct
216
;;
217
218
let yojson_of_t f = function
219
- | None -> assert false
+ | None -> `Null
220
| Some s -> f s
221
222
end
0 commit comments