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-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ derefInsteadOfNot,"The '!' operator is used to dereference a ref cell. Consider
22
22
buildUnexpectedTypeArgs,"The non-generic type '%s' does not expect any type arguments, but here is given %d type argument(s)"
23
23
returnUsedInsteadOfReturnBang,"Consider using 'return!' instead of 'return'."
24
24
yieldUsedInsteadOfYieldBang,"Consider using 'yield!' instead of 'yield'."
25
+
tupleRequiredInAbstractMethod,"\nA tuple type is required for one or more arguments. Consider wrapping the given arguments in additional parentheses or review the definition of the interface."
25
26
203,buildInvalidWarningNumber,"Invalid warning number '%s'"
26
27
204,buildInvalidVersionString,"Invalid version string '%s'"
27
28
205,buildInvalidVersionFile,"Invalid version file '%s'"
@@ -592,8 +593,8 @@ tcExpressionWithIfRequiresParenthesis,"This list or array expression includes an
592
593
766,tcObjectExpressionsCanOnlyOverrideAbstractOrVirtual,"Only overrides of abstract and virtual members may be specified in object expressions"
593
594
767,tcNoAbstractOrVirtualMemberFound,"The member '%s' does not correspond to any abstract or virtual method available to override or implement.%s"
594
595
767,tcMemberFoundIsNotAbstractOrVirtual,"The type %s contains the member '%s' but it is not a virtual or abstract method that is available to override or implement.%s"
595
-
768,tcArgumentArityMismatch,"The member '%s' does not accept the correct number of arguments, %d arguments are expected"
596
-
769,tcArgumentArityMismatchOneOverload,"The member '%s' does not accept the correct number of arguments. One overload accepts %d arguments."
596
+
768,tcArgumentArityMismatch,"The member '%s' does not accept the correct number of arguments. %d argument(s) are expected, but %d were given. The required signature is '%s'.%s"
597
+
769,tcArgumentArityMismatchOneOverload,"The member '%s' does not accept the correct number of arguments. One overload accepts %d arguments, but %d were given. The required signature is '%s'.%s"
597
598
770,tcSimpleMethodNameRequired,"A simple method name is required here"
598
599
771,tcPredefinedTypeCannotBeUsedAsSuperType,"The types System.ValueType, System.Enum, System.Delegate, System.MulticastDelegate and System.Array cannot be used as super types in an object expression or class"
599
600
772,tcNewMustBeUsedWithNamedType,"'new' must be used with a named type"
0 commit comments