We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d832d commit 58bdaeaCopy full SHA for 58bdaea
compiler/frontend/bs_builtin_ppx.ml
@@ -253,6 +253,7 @@ let expr_mapper ~async_context ~in_function_def (self : mapper)
253
})
254
| Pexp_let (_, [{pvb_pat; pvb_attributes}], _)
255
when Ast_attributes.has_unwrap_attr pvb_attributes ->
256
+ (* Catch all unsupported cases for `let?` *)
257
if not (Experimental_features.is_enabled Experimental_features.LetUnwrap)
258
then
259
Bs_syntaxerr.err pvb_pat.ppat_loc
0 commit comments