@@ -17,8 +17,11 @@ undefinedNameTypeParameter,"The type parameter %s is not defined."
undefinedNamePatternDiscriminator,"The pattern discriminator '%s' is not defined."
replaceWithSuggestion,"Replace with '%s'"
addIndexerDot,"Add . for indexer access."
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'."
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'."
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."
elseBranchHasWrongType,"All branches of an 'if' expression must return the same type. This expression was expected to have type '%s' but here has type '%s'."
ifExpression,"The 'if' expression needs to have type '%s' to satisfy context type requirements. It currently has type '%s'."
elseBranchHasWrongType,"All branches of an 'if' expression must return the same type. This expression was expected to have type '%s', but here has type '%s'."
commaInsteadOfSemicolonInRecord,"A ';' is used to separate field values in records. Consider replacing ',' with ';'."
derefInsteadOfNot,"The '!' operator is used to dereference a ref cell. Consider using 'not expr' here."
buildUnexpectedTypeArgs,"The non-generic type '%s' does not expect any type arguments, but here is given %d type argument(s)"
neg20.fs(60,26,60,33):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'B', but here has type 'A'.
neg20.fs(61,27,61,35):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'B1', but here has type 'B2'.
neg20.fs(62,26,62,33):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'C', but here has type 'B'.
neg20.fs(66,25,66,32):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'A', but here has type 'B'.
neg20.fs(67,27,67,34):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'B', but here has type 'C'.
neg20.fs(70,31,70,38):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'B', but here has type 'C'.
neg20.fs(83,47,83,54):typecheckerrorFS0001:Allbranchesofan'if' expression must return the same type. This expression was expected to have type 'B' but here has type 'C'.
neg20.fs(83,47,83,54):typecheckerrorFS0001:Allbranchesofan'if' expression must return the same type. This expression was expected to have type 'B', but here has type 'C'.
neg20.fs(99,26,99,33):typecheckerrorFS0001:Allelementsofalistconstructorexpressionmusthavethesametype.Thisexpressionwasexpectedtohavetype'B', but here has type 'A'.
//<Expects status="Error" span="(7,10)" id="FS0001">All branches of an 'if' expression must return the same type. This expression was expected to have type 'string' but here has type 'int'.</Expects>
//<Expects status="Error" span="(7,10)" id="FS0001">All branches of an 'if' expression must return the same type. This expression was expected to have type 'string', but here has type 'int'.</Expects>
//<Expects status="Error" id="FS0001">All branches of an 'if' expression must return the same type. This expression was expected to have type 'string' but here has type 'int'.</Expects>
//<Expects status="Error" id="FS0001">All branches of an 'if' expression must return the same type. This expression was expected to have type 'string', but here has type 'int'.</Expects>