[Git][ghc/ghc][wip/marge_bot_batch_merge_job] doc: Correct JSON schema for `-fdiagnostics-as-json` (fixes #25393)
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Sun Jan 26 06:06:46 UTC 2025
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
4ae75288 by Simon Hengel at 2025-01-26T01:05:30-05:00
doc: Correct JSON schema for `-fdiagnostics-as-json` (fixes #25393)
- - - - -
2 changed files:
- docs/users_guide/diagnostics-as-json-schema-1_0.json
- docs/users_guide/diagnostics-as-json-schema-1_1.json
Changes:
=====================================
docs/users_guide/diagnostics-as-json-schema-1_0.json
=====================================
@@ -13,7 +13,10 @@
"type": "string"
},
"span": {
- "$ref": "#/$defs/span"
+ "oneOf": [
+ { "$ref": "#/$defs/span" },
+ { "type": "null" }
+ ]
},
"severity": {
"description": "The diagnostic severity",
=====================================
docs/users_guide/diagnostics-as-json-schema-1_1.json
=====================================
@@ -13,7 +13,10 @@
"type": "string"
},
"span": {
- "$ref": "#/$defs/span"
+ "oneOf": [
+ { "$ref": "#/$defs/span" },
+ { "type": "null" }
+ ]
},
"severity": {
"description": "The diagnostic severity",
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4ae7528886c02745dc7a1f95f7db20a753167cab
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4ae7528886c02745dc7a1f95f7db20a753167cab
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250126/d9182d4b/attachment-0001.html>
More information about the ghc-commits
mailing list