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: src/fsharp/FSComp.txt
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ undefinedNameSuggestionsIntro,"Maybe you want one of the following:"
16
16
undefinedNameTypeParameter,"The type parameter %s is not defined."
17
17
undefinedNamePatternDiscriminator,"The pattern discriminator '%s' is not defined."
18
18
replaceWithSuggestion,"Replace with '%s'"
19
+
addIndexerDot,"Add . for indexer access."
19
20
listElementHasWrongType,"All elements of a list constructor expression must have the same type. This expression was expected to have type '%s', but here has type '%s'."
20
21
arrayElementHasWrongType,"All elements of an array constructor expression must have the same type. This expression was expected to have type '%s', but here has type '%s'."
21
22
missingElseBranch,"The 'if' expression is missing an 'else' branch. The 'then' branch has type '%s'. Because 'if' is an expression, and not a statement, add an 'else' branch which returns a value of the same type."
@@ -1413,3 +1414,8 @@ keywordDescriptionUntypedQuotation,"Delimits a untyped code quotation."
1413
1414
3216,itemNotFoundDuringDynamicCodeGen,"%s '%s' not found in assembly '%s'. A possible cause may be a version incompatibility. You may need to explicitly reference the correct version of this assembly to allow all referenced components to use the correct version."
1414
1415
3216,itemNotFoundInTypeDuringDynamicCodeGen,"%s '%s' not found in type '%s' from assembly '%s'. A possible cause may be a version incompatibility. You may need to explicitly reference the correct version of this assembly to allow all referenced components to use the correct version."
1415
1416
descriptionWordIs,"is"
1417
+
notAFunction,"This value is not a function and cannot be applied."
1418
+
notAFunctionButMaybeIndexerWithName,"This value is not a function and cannot be applied. Did you intend to access the indexer via %s.[index] instead?"
1419
+
notAFunctionButMaybeIndexer,"This expression is not a function and cannot be applied. Did you intend to access the indexer via expr.[index] instead?"
1420
+
3217,notAFunctionButMaybeIndexerErrorCode,""
1421
+
notAFunctionButMaybeDeclaration,"This value is not a function and cannot be applied. Did you forget to terminate a declaration?"
<value>The type implements the interface '{0}' but this is not revealed by the signature. You should list the interface in the signature, as the interface will be discoverable via dynamic type casts and/or reflection.</value>
182
182
</data>
183
-
<dataname="NotAFunction1"xml:space="preserve">
184
-
<value>This value is not a function and cannot be applied. Did you forget to terminate a declaration?</value>
185
-
</data>
186
-
<dataname="NotAFunction2"xml:space="preserve">
187
-
<value>This value is not a function and cannot be applied</value>
188
-
</data>
189
183
<dataname="TyconBadArgs"xml:space="preserve">
190
184
<value>The type '{0}' expects {1} type argument(s) but is given {2}</value>
neg03.fs(106,15,106,17): typecheck error FS0025: Incomplete pattern matches on this expression.For example, the value '[0]' may indicate a casenot covered by the pattern(s).
108
108
109
-
neg03.fs(148,23,148,26): typecheck error FS0003: This value isnot a functionand cannot be applied
109
+
neg03.fs(148,23,148,26): typecheck error FS0003: This value isnot a functionand cannot be applied.
110
110
111
111
neg03.fs(151,9,151,23): typecheck error FS0002: This function takes too many arguments,or is usedin a context where a function isnot expected
Copy file name to clipboardExpand all lines: tests/fsharp/typecheck/sigs/neg66.vsbsl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,4 +3,4 @@ neg66.fsx(43,4,43,5): parse error FS0010: Unexpected symbol ')' in definition. E
3
3
4
4
neg66.fsx(43,4,43,5): parse error FS0010: Unexpected symbol ')' in definition. Expected incomplete structured construct at or before this point or other token.
5
5
6
-
neg66.fsx(30,1,38,33): typecheck error FS0003: This value is not a function and cannot be applied
6
+
neg66.fsx(30,1,38,33): typecheck error FS0003: This value is not a function and cannot be applied.