File tree 2 files changed +3
-3
lines changed
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 @@ -333,7 +333,7 @@ let MyNullableExtended = {
333
333
function area ( shape ) {
334
334
switch ( shape . kind ) {
335
335
case 1 :
336
- return Math . PI * ( shape . radius ** 2 ) ;
336
+ return Math . PI * shape . radius ** 2 ;
337
337
case "square" :
338
338
return shape . sideLength ** 2 ;
339
339
case "rectangle" :
You can’t perform that action at this time.
0 commit comments