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.
null
1 parent 71691a7 commit 0b6a6f5Copy full SHA for 0b6a6f5
src/Compiler/Checking/NicePrint.fs
@@ -944,7 +944,7 @@ module PrintTypes =
944
// Show nullness annotations unless explicitly turned off
945
if denv.showNullnessAnnotations <> Some false then
946
match nullness.Evaluate() with
947
- | NullnessInfo.WithNull -> part2 ^^ wordL (tagText "| null")
+ | NullnessInfo.WithNull -> part2 ^^ wordL (tagPunctuation "|") ^^ wordL (tagKeyword "null")
948
| NullnessInfo.WithoutNull -> part2
949
| NullnessInfo.AmbivalentToNull -> part2 //^^ wordL (tagText "__maybenull")
950
else
0 commit comments