Skip to content

Commit d86e435

Browse files
committed
Nullable is now @unboxed
1 parent 3924543 commit d86e435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/tests/src/expected/Completion.res.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,13 +930,13 @@ Path Js.n
930930
"kind": 22,
931931
"tags": [],
932932
"detail": "type nullable",
933-
"documentation": {"kind": "markdown", "value": "```rescript\ntype nullable<'a> = Value('a) | Null | Undefined\n```"}
933+
"documentation": {"kind": "markdown", "value": "```rescript\n@unboxed\ntype nullable<'a> =\n | Value('a)\n | @as(null) Null\n | @as(undefined) Undefined\n```"}
934934
}, {
935935
"label": "null",
936936
"kind": 22,
937937
"tags": [],
938938
"detail": "type null",
939-
"documentation": {"kind": "markdown", "value": "\n Nullable value of this type can be either null or 'a. This type is equivalent to Js.Null.t.\n\n\n```rescript\ntype null<'a> = Value('a) | Null\n```"}
939+
"documentation": {"kind": "markdown", "value": "\n Nullable value of this type can be either null or 'a. This type is equivalent to Js.Null.t.\n\n\n```rescript\n@unboxed type null<'a> = Value('a) | @as(null) Null\n```"}
940940
}]
941941

942942
Complete src/Completion.res 174:20

0 commit comments

Comments
 (0)