Skip to content

Commit 10146ef

Browse files
committed
remove unnecessary unwrap
1 parent c06f72b commit 10146ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

jscomp/syntax/src/res_printer.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ let classify_ident_content ?(allow_uident = false) ?(allow_hyphen = false) txt =
401401
loop 0
402402

403403
let print_ident_like ?allow_uident ?allow_hyphen txt =
404-
let txt = Ext_ident.unwrap_uppercase_exotic txt in
405404
match classify_ident_content ?allow_uident ?allow_hyphen txt with
406405
| ExoticIdent -> Doc.concat [Doc.text "\\\""; Doc.text txt; Doc.text "\""]
407406
| UppercaseExoticIdent | NormalIdent -> Doc.text txt

0 commit comments

Comments
 (0)