Skip to content

Commit a3f202c

Browse files
committed
remove unnecessary unwrap
1 parent ab97819 commit a3f202c

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
@@ -399,7 +399,6 @@ let classifyIdentContent ?(allowUident = false) ?(allowHyphen = false) txt =
399399
loop 0
400400

401401
let printIdentLike ?allowUident ?allowHyphen txt =
402-
let txt = Ext_ident.unwrap_uppercase_exotic txt in
403402
match classifyIdentContent ?allowUident ?allowHyphen txt with
404403
| ExoticIdent -> Doc.concat [Doc.text "\\\""; Doc.text txt; Doc.text "\""]
405404
| UppercaseExoticIdent | NormalIdent -> Doc.text txt

0 commit comments

Comments
 (0)