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
{{ message }}
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
* Initial attempt at better anonymous record reporting.
* Update error texts and fix tests.
* Fix test, but for real this time.
* Fix another random BSL file.
* Next random file fix!
* Line formatting.
Copy file name to clipboardExpand all lines: src/fsharp/FSComp.txt
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1350,7 +1350,10 @@ tcGlobalsSystemTypeNotFound,"The system type '%s' was required but no referenced
1350
1350
3214,methodIsNotStatic,"Method or object constructor '%s' is not static"
1351
1351
3215,parsUnexpectedSymbolEqualsInsteadOfIn,"Unexpected symbol '=' in expression. Did you intend to use 'for x in y .. z do' instead?"
1352
1352
tcAnonRecdCcuMismatch,"Two anonymous record types are from different assemblies '%s' and '%s'"
1353
-
tcAnonRecdFieldNameMismatch,"Two anonymous record types have mismatched sets of field names '%s' and '%s'"
1353
+
tcAnonRecdFieldNameMismatch,"This anonymous record does not exactly match the expected shape. Add the missing fields %s and remove the extra fields %s."
1354
+
tcAnonRecdFieldNameSubset,"This anonymous record does not have enough fields. Add the missing fields %s."
1355
+
tcAnonRecdFieldNameSuperset,"This anonymous record has too many fields. Remove the extra fields %s."
1356
+
tcAnonRecdFieldNameDifferent,"This is the wrong anonymous record. It should have the fields %s."
1354
1357
keywordDescriptionAbstract,"Indicates a method that either has no implementation in the type in which it is declared or that is virtual and has a default implementation."
1355
1358
keyworkDescriptionAnd,"Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters."
1356
1359
keywordDescriptionAs,"Used to give the current class object an object name. Also used to give a name to a whole pattern within a pattern match."
<source>All branches of a pattern match expression must return values of the same type as the first branch, which here is '{0}'. This branch returns a value of type '{1}'.</source>
142
-
<target state="translated">Todas las ramas de una expresión de coincidencia de patrón deben devolver valores del mismo tipo. La primera rama devolvió un valor de tipo "{0}", pero esta rama devolvió un valor de tipo "\{1 \}".</target>
157
+
<target state="new">All branches of a pattern match expression must return values of the same type as the first branch, which here is '{0}'. This branch returns a value of type '{1}'.</target>
143
158
<note />
144
159
</trans-unit>
145
160
<trans-unit id="patternMatchGuardIsNotBool">
@@ -7108,8 +7123,8 @@
7108
7123
<note />
7109
7124
</trans-unit>
7110
7125
<trans-unit id="tcAnonRecdFieldNameMismatch">
7111
-
<source>Two anonymous record types have mismatched sets of field names '{0}' and '{1}'</source>
7112
-
<target state="translated">Dos tipos de registros anónimos tienen conjuntos de nombres de campo que no coinciden "{0}" y "{1}"</target>
7126
+
<source>This anonymous record does not exactly match the expected shape. Add the missing fields {0} and remove the extra fields {1}.</source>
7127
+
<target state="needs-review-translation">Dos tipos de registros anónimos tienen conjuntos de nombres de campo que no coinciden "{0}" y "{1}"</target>
0 commit comments