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 70f85da commit fd5c019Copy full SHA for fd5c019
analysis/src/CompletionFrontEnd.ml
@@ -108,8 +108,8 @@ let extractJsxProps ~(compName : Longident.t Location.loc) ~args =
108
109
let extractCompletableArgValueInfo exp =
110
match exp.Parsetree.pexp_desc with
111
- | Pexp_ident {txt} -> Some (Utils.flattenLongIdent txt |> List.hd)
112
- | Pexp_construct ({txt}, _) -> Some (Utils.flattenLongIdent txt |> List.hd)
+ | Pexp_ident {txt = Lident txt} -> Some txt
+ | Pexp_construct ({txt = Lident txt}, _) -> Some txt
113
| _ -> None
114
115
let isExprHole exp =
0 commit comments