You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: analysis/tests/src/CompletionFunctionArguments.res
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,9 @@ let someFnTakingVariant = (
67
67
// let _ = someOtherFn(1, 2, )
68
68
// ^com
69
69
70
+
// let _ = 1->someOtherFn(1, t)
71
+
// ^com
72
+
70
73
// --- BROKEN PARSER CASES ---
71
74
// This below demonstrates an issue when what you're completing is the _last_ labelled argument, and there's a unit application after it. The parser wrongly merges the unit argument as the expression of the labelled argument assignment, where is should really let the trailing unit argument be, and set a %rescript.exprhole as the expression of the assignment, just like it normally does.
0 commit comments