Skip to content

Commit 109a84d

Browse files
authored
Point from FsComp.txt to error numbers before 200 (#15875)
1 parent f87741b commit 109a84d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Compiler/FSComp.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -------------------------------------------------------------------------------
22
# use a completely new error number and keep messages in their surrounding groups
33
# -------------------------------------------------------------------------------
4+
# Error numbers before 200 are listed in src/Compiler/Driver/CompilerDiagnostics.fs from the line with "member exn.DiagnosticNumber ="
45
undefinedNameNamespace,"The namespace '%s' is not defined."
56
undefinedNameNamespaceOrModule,"The namespace or module '%s' is not defined."
67
undefinedNameFieldConstructorOrMember,"The field, constructor or member '%s' is not defined."
@@ -1723,4 +1724,4 @@ featureAccessorFunctionShorthand,"underscore dot shorthand for accessor only fun
17231724
featureUnmanagedConstraintCsharpInterop,"Interop between C#'s and F#'s unmanaged generic constraint (emit additional modreq)"
17241725
3578,chkCopyUpdateSyntaxInAnonRecords,"This expression is an anonymous record, use {{|...|}} instead of {{...}}."
17251726
3579,alwaysUseTypedStringInterpolation,"Interpolated string contains untyped identifiers. Adding typed format specifiers is recommended."
1726-
3580,tcUnexpectedFunTypeInUnionCaseField,"Unexpected function type in union case field definition. If you intend the field to be a function, consider wrapping the function signature with parens, e.g. | Case of a -> b into | Case of (a -> b)."
1727+
3580,tcUnexpectedFunTypeInUnionCaseField,"Unexpected function type in union case field definition. If you intend the field to be a function, consider wrapping the function signature with parens, e.g. | Case of a -> b into | Case of (a -> b)."

0 commit comments

Comments
 (0)