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 =
72
72
JSNull else
73
73
if ty = " number" then
74
74
JSNumber (Obj. magic x) else
75
+ if ty = " bigint" then
76
+ JSBigInt (Obj. magic x) else
75
77
if ty = " string" then
76
78
JSString (Obj. magic x) else
77
79
if ty = " boolean" then
78
- if (Obj. magic x) = true then JSTrue
80
+ if (Obj. magic x) = true then JSTrue
79
81
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
84
82
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)
86
86
else
87
- JSBigInt (Obj. magic x)
87
+ JSObject (Obj. magic x)
88
88
89
89
90
90
let test (type a ) (x : 'a ) (v : a t ) : bool =
You can’t perform that action at this time.
0 commit comments