From 4bf6fc3385d0502bc02658e533b376ed162f55e3 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Fri, 22 Sep 2023 17:35:20 +0200 Subject: [PATCH] Fix code formatting error --- jscomp/gentype/TranslateStructure.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jscomp/gentype/TranslateStructure.ml b/jscomp/gentype/TranslateStructure.ml index 66185837fc6..f20c518bf3a 100644 --- a/jscomp/gentype/TranslateStructure.ml +++ b/jscomp/gentype/TranslateStructure.ml @@ -11,8 +11,7 @@ let rec addAnnotationsToTypes_ ~config ~(expr : Typedtree.expression) let aName = if aName = "*opt*" then match arg_label with - | Optional l -> - l + | Optional l -> l | _ -> "" (* should not happen *) else aName in