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
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1412,5 +1412,7 @@ keywordDescriptionUntypedQuotation,"Delimits a untyped code quotation."
1412
1412
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."
1413
1413
descriptionWordIs,"is"
1414
1414
notAFunction,"This value is not a function and cannot be applied."
1415
-
3217,notAFunctionButMaybeIndexer,"This value is not a function and cannot be applied. Did you intend to call obj.[index] instead of obj[index]?"
1415
+
notAFunctionButMaybeIndexerWithName,"This value is not a function and cannot be applied. Did you intend to access the indexer via %s.[index] instead?"
1416
+
notAFunctionButMaybeIndexer,"This expression is not a function and cannot be applied. Did you intend to access the indexer via expr.[index] instead?"
1417
+
3217,notAFunctionButMaybeIndexerErrorCode,""
1416
1418
notAFunctionButMaybeDeclaration,"This value is not a function and cannot be applied. Did you forget to terminate a declaration?"
//<Expects status="Error" span="(6,9)">This value is not a function and cannot be applied.But the given value has an indexer.Did you intend tocall obj.[index] instead of obj[index]?</Expects>
2
+
//<Expects status="Error" span="(6,9)">This value is not a function and cannot be applied. Did you intend toaccess the indexer via d.[index] instead?</Expects>
3
3
//<Expects status="Error" span="(8,9)" id="FS3217">This value is not a function and cannot be applied.$</Expects>
4
+
//<Expects status="Error" span="(12,9)" id="FS3217">This value is not a function and cannot be applied. Did you intend to access the indexer via expr.[index] instead?"</Expects>