File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -100,14 +100,15 @@ let transl_modifier_annots annots =
100
100
let modifiers = List. fold_left step empty_modifiers annots in
101
101
(* Since [yielding] is the default mode in presence of [local],
102
102
the [global] modifier must also apply [unyielding] unless specified. *)
103
- match Opt_axis_collection. get ~axis: (Modal Yielding ) modifiers,
104
- Opt_axis_collection. get ~axis: (Modal Locality ) modifiers with
103
+ match
104
+ ( Opt_axis_collection. get ~axis: (Modal Yielding ) modifiers,
105
+ Opt_axis_collection. get ~axis: (Modal Locality ) modifiers )
106
+ with
105
107
| None , Some Global ->
106
- Opt_axis_collection. set ~axis: (Modal Yielding )
107
- modifiers (Some Yielding.Const. Unyielding )
108
+ Opt_axis_collection. set ~axis: (Modal Yielding ) modifiers
109
+ (Some Yielding.Const. Unyielding )
108
110
| _ , _ -> modifiers
109
111
110
-
111
112
let default_mode_annots (annots : Alloc.Const.Option.t ) =
112
113
(* Unlike all other modes, [yielding] has a different default
113
114
depending on whether [areality] is [Global] or [Local]. *)
You can’t perform that action at this time.
0 commit comments