Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9834713

Browse files
committed
Make warning
1 parent8314a87 commit9834713

File tree

43 files changed

+88
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+88
-47
lines changed
-238 KB
Binary file not shown.
-254 KB
Binary file not shown.
-229 KB
Binary file not shown.
-249 KB
Binary file not shown.
-254 KB
Binary file not shown.

‎src/buildfromsource/FSharp.Compiler.Private/FSComp.fs‎

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4144,7 +4144,7 @@ type internal SR private() =
41444144
/// Used to associate, or bind, a name to a value or function.
41454145
/// (Originally from ..\FSComp.txt:1372)
41464146
static memberkeywordDescriptionLet()=(GetStringFunc("keywordDescriptionLet",",,,"))
4147-
/// Used inasynchronous workflows to bind a name to the result of an asynchronouscomputation, or, in other computationexpressions, usedto bind a name toa result, which isofthe computationtype.
4147+
/// Used in computationexpressionsto bind a name tothe resultofanother computationexpression.
41484148
/// (Originally from ..\FSComp.txt:1373)
41494149
static memberkeywordDescriptionLetBang()=(GetStringFunc("keywordDescriptionLetBang",",,,"))
41504150
/// Used to branch by comparing a value to a pattern.
@@ -4195,10 +4195,10 @@ type internal SR private() =
41954195
/// Used to indicate that a function is recursive.
41964196
/// (Originally from ..\FSComp.txt:1389)
41974197
static memberkeywordDescriptionRec()=(GetStringFunc("keywordDescriptionRec",",,,"))
4198-
/// Used toindicate a valueto provide asthe result ofa computation expression.
4198+
/// Used toprovide a valueforthe result ofthe containing computation expression.
41994199
/// (Originally from ..\FSComp.txt:1390)
42004200
static memberkeywordDescriptionReturn()=(GetStringFunc("keywordDescriptionReturn",",,,"))
4201-
/// Used toindicate a computation expression that, when evaluated, provides the result of thecontaining computation expression.
4201+
/// Used toprovide avalue for the result of the containingcomputation expression, where that value itself comes from theresult another computation expression.
42024202
/// (Originally from ..\FSComp.txt:1391)
42034203
static memberkeywordDescriptionReturnBang()=(GetStringFunc("keywordDescriptionReturnBang",",,,"))
42044204
/// Used in query expressions to specify what fields or columns to extract. Note that this is a contextual keyword, which means that it is not actually a reserved word and it only acts like a keyword in appropriate context.
@@ -4225,10 +4225,10 @@ type internal SR private() =
42254225
/// Used to convert to a type that is higher in the inheritance chain.
42264226
/// (Originally from ..\FSComp.txt:1399)
42274227
static memberkeywordDescriptionUpcast()=(GetStringFunc("keywordDescriptionUpcast",",,,"))
4228-
/// Used instead of let for values thatrequire Dispose to be called to free resources.
4228+
/// Used instead of let for values thatimplement IDisposable"
42294229
/// (Originally from ..\FSComp.txt:1400)
42304230
static memberkeywordDescriptionUse()=(GetStringFunc("keywordDescriptionUse",",,,"))
4231-
/// Used instead of let! inasynchronous workflows and othercomputation expressions forvalues that require Dispose to be called to free resources.
4231+
/// Used instead of let! in computation expressions forcomputation expression results that implement IDisposable.
42324232
/// (Originally from ..\FSComp.txt:1401)
42334233
static memberkeywordDescriptionUseBang()=(GetStringFunc("keywordDescriptionUseBang",",,,"))
42344234
/// Used in a signature to indicate a value, or in a type to declare a member, in limited situations.
@@ -4353,10 +4353,10 @@ type internal SR private() =
43534353
static memberchkNoSpanLikeValueFromExpression()=(3236, GetStringFunc("chkNoSpanLikeValueFromExpression",",,,"))
43544354
/// Cannot take the address of the value returned from the expression. Assign the returned value to a let-bound value before taking the address.
43554355
/// (Originally from ..\FSComp.txt:1442)
4356-
static membertastCantTakeAddressOfExpression()=(3238, GetStringFunc("tastCantTakeAddressOfExpression",",,,"))
4357-
/// This typeis notan attribute
4358-
/// (Originally from ..\FSComp.txt:1442)
4359-
static membertcTypeDoesNotInheritAttribute()=(3238, GetStringFunc("tcTypeDoesNotInheritAttribute",",,,"))
4356+
static membertastCantTakeAddressOfExpression()=(3237, GetStringFunc("tastCantTakeAddressOfExpression",",,,"))
4357+
/// This typedoes notinherit Attribute, it will not work correctly with other .NET languages.
4358+
/// (Originally from ..\FSComp.txt:1443)
4359+
static membertcTypeDoesNotInheritAttribute()=(3242, GetStringFunc("tcTypeDoesNotInheritAttribute",",,,"))
43604360

43614361
/// Call this method once to validate that all known resources are valid; throws if not
43624362
static memberRunStartupValidation()=
@@ -5769,4 +5769,9 @@ type internal SR private() =
57695769
ignore(GetString("tastValueMustBeLocal"))
57705770
ignore(GetString("tcIsReadOnlyNotStruct"))
57715771
ignore(GetString("chkStructsMayNotReturnAddressesOfContents"))
5772+
ignore(GetString("chkNoByrefLikeFunctionCall"))
5773+
ignore(GetString("chkNoSpanLikeVariable"))
5774+
ignore(GetString("chkNoSpanLikeValueFromExpression"))
5775+
ignore(GetString("tastCantTakeAddressOfExpression"))
5776+
ignore(GetString("tcTypeDoesNotInheritAttribute"))
57725777
()
-249 KB
Binary file not shown.
-280 KB
Binary file not shown.
-259 KB
Binary file not shown.
-254 KB
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp