File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ let op_prec (op : Js_op.binop) =
41
41
| Lsl | Lsr | Asr -> (10 , 10 , 11 )
42
42
| Plus | Minus -> (11 , 11 , 12 )
43
43
| Mul | Div | Mod -> (12 , 12 , 13 )
44
- | Pow -> (12 , 14 , 12 )
44
+ | Pow -> (13 , 14 , 12 )
45
45
46
46
let op_int_prec (op : Js_op.int_op ) =
47
47
match op with
@@ -51,7 +51,7 @@ let op_int_prec (op : Js_op.int_op) =
51
51
| Lsl | Lsr | Asr -> (10 , 10 , 11 )
52
52
| Plus | Minus -> (11 , 11 , 12 )
53
53
| Mul | Div | Mod -> (12 , 12 , 13 )
54
- | Pow -> (12 , 14 , 12 )
54
+ | Pow -> (13 , 14 , 12 )
55
55
56
56
let op_str (op : Js_op.binop ) =
57
57
match op with
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ let MyNullableExtended = {
337
337
function area ( shape ) {
338
338
switch ( shape . kind ) {
339
339
case 1 :
340
- return Math . PI * ( shape . radius ** 2 ) ;
340
+ return Math . PI * shape . radius ** 2 ;
341
341
case "square" :
342
342
return shape . sideLength ** 2 ;
343
343
case "rectangle" :
You can’t perform that action at this time.
0 commit comments