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: docs/fsharp/language-reference/compiler-messages/fs0003.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,4 @@ In the previous snippet, the FS0003 error is shown because the value `v` is not
22
22
error FS0003: This value is not a function and cannot be applied.
23
23
```
24
24
25
-
To solve this message, you must determine which of these two scenarios is the root cause.
26
-
27
-
- If an indexer was intended to be used, make sure the syntax is correct as suggested by the error message. In this case, the correct usage would be `listOfInts.[1]` instead of `listOfInts[1]`
28
-
29
-
- If a function was intended to be called, make sure the value you're calling is in fact a function. Is there a typo in the name? Try adding type annotations to let-bindings to ensure the code is in line with the intended types.
25
+
If a function was intended to be called, make sure the value you're calling is in fact a function. Is there a typo in the name? Try adding type annotations to let-bindings to ensure the code is in line with the intended types.
0 commit comments