File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -72,19 +72,19 @@ let classify (x : 'a) : tagged_t =
7272 JSNull else
7373 if ty = " number" then
7474 JSNumber (Obj. magic x) else
75+ if ty = " bigint" then
76+ JSBigInt (Obj. magic x) else
7577 if ty = " string" then
7678 JSString (Obj. magic x) else
7779 if ty = " boolean" then
78- if (Obj. magic x) = true then JSTrue
80+ if (Obj. magic x) = true then JSTrue
7981 else JSFalse else
80- if ty = " function" then
81- JSFunction (Obj. magic x) else
82- if ty = " object" then
83- JSObject (Obj. magic x) else
8482 if ty = " symbol" then
85- JSSymbol (Obj. magic x)
83+ JSSymbol (Obj. magic x) else
84+ if ty = " function" then
85+ JSFunction (Obj. magic x)
8686 else
87- JSBigInt (Obj. magic x)
87+ JSObject (Obj. magic x)
8888
8989
9090let test (type a ) (x : 'a ) (v : a t ) : bool =
You can’t perform that action at this time.
0 commit comments