Skip to content

Commit 58bdaea

Browse files
committed
comment
1 parent b9d832d commit 58bdaea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/frontend/bs_builtin_ppx.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ let expr_mapper ~async_context ~in_function_def (self : mapper)
253253
})
254254
| Pexp_let (_, [{pvb_pat; pvb_attributes}], _)
255255
when Ast_attributes.has_unwrap_attr pvb_attributes ->
256+
(* Catch all unsupported cases for `let?` *)
256257
if not (Experimental_features.is_enabled Experimental_features.LetUnwrap)
257258
then
258259
Bs_syntaxerr.err pvb_pat.ppat_loc

0 commit comments

Comments
 (0)