Commit fac1f55
Fix applicable span for empty argument lists
When an argument list is empty (e.g., foo(|)), the span was [pos,pos) which doesn't include any position. Extended the span by 1 to include at least the position right after the opening paren.
This fixes TestSignatureHelpWithTriggers02 which expects bar's signature at foo(bar(|)) after inserting '('.
All signature help tests now pass.
Co-authored-by: jakebailey <[email protected]>1 parent 3d51660 commit fac1f55
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
1069 | | - | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
1070 | 1077 | | |
1071 | 1078 | | |
1072 | 1079 | | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1073 | 1087 | | |
1074 | 1088 | | |
1075 | 1089 | | |
| |||
0 commit comments