File tree 1 file changed +1
-4
lines changed
compiler/src/language_server
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -65,18 +65,15 @@ let find_hints = (~toggle_type_hints: bool, program) => {
65
65
include TypedtreeIter . DefaultIteratorArgument ;
66
66
67
67
let enter_expression = ({exp_desc, exp_type}: expression ) =>
68
- // Function parameter type hints
69
68
if (toggle_type_hints) {
70
69
switch (exp_desc) {
71
70
| TExpLambda (bindings , _ ) =>
72
71
List . iter(
73
72
({mb_pat, mb_loc}: match_branch ) => {
74
- // Get Parameters
75
73
switch (mb_pat. pat_desc) {
76
74
| TPatTuple (args ) =>
77
75
switch (resolve_typ(exp_type).desc) {
78
76
| TTyArrow (typ_args , _ , _ ) =>
79
- // Iterate For Types
80
77
let argument_typs =
81
78
List . map(
82
79
((arg, typ: Types . type_expr )) =>
@@ -86,7 +83,7 @@ let find_hints = (~toggle_type_hints: bool, program) => {
86
83
},
87
84
typ_args,
88
85
);
89
- // Make Hints
86
+ w ;
90
87
if (List . length(argument_typs) == List . length(args)) {
91
88
List . iter(
92
89
((arg: pattern , typ: option (Types . type_expr ))) => {
You can’t perform that action at this time.
0 commit comments