[Git][ghc/ghc][master] doc: Correct JSON schema for `-fdiagnostics-as-json` (fixes #25393)
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Mon Jan 27 21:24:24 UTC 2025
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
f19ab490 by Simon Hengel at 2025-01-27T16:23:45-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/f19ab49091675faba8619428a780e706ed3314fc
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f19ab49091675faba8619428a780e706ed3314fc
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/20250127/3263f161/attachment-0001.html>
More information about the ghc-commits
mailing list