@@ -669,8 +669,15 @@ module ParsedInput =
669669 | SynType.HashConstraint ( t, _) -> walkType t
670670 | SynType.MeasureDivide ( t1, t2, _) -> walkType t1 |> Option.orElseWith ( fun () -> walkType t2)
671671 | SynType.MeasurePower ( t, _, _) -> walkType t
672- | SynType.Paren ( t, _) -> walkType t
673- | _ -> None
672+ | SynType.Paren ( t, _)
673+ | SynType.SignatureParameter ( usedType = t) -> walkType t
674+ | SynType.StaticConstantExpr ( e, _) -> walkExpr e
675+ | SynType.StaticConstantNamed ( ident, value, _) -> List.tryPick walkType [ ident; value ]
676+ | SynType.Anon _
677+ | SynType.AnonRecd _
678+ | SynType.LongIdent _
679+ | SynType.Var _
680+ | SynType.StaticConstant _ -> None
674681
675682 and walkClause clause =
676683 let ( SynMatchClause ( pat = pat; whenExpr = e1; resultExpr = e2)) = clause
@@ -1676,7 +1683,14 @@ module ParsedInput =
16761683 | SynType.WithGlobalConstraints ( t, typeConstraints, _) ->
16771684 walkType t
16781685 List.iter walkTypeConstraint typeConstraints
1679- | _ -> ()
1686+ | SynType.StaticConstantExpr ( e, _) -> walkExpr e
1687+ | SynType.StaticConstantNamed ( ident, value, _) ->
1688+ walkType ident
1689+ walkType value
1690+ | SynType.Anon _
1691+ | SynType.AnonRecd _
1692+ | SynType.Var _
1693+ | SynType.StaticConstant _ -> ()
16801694
16811695 and walkClause ( SynMatchClause ( pat = pat; whenExpr = e1; resultExpr = e2)) =
16821696 walkPat pat
0 commit comments