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

Commit8314a87

Browse files
vasily-kirichenkoKevinRansom
authored andcommitted
Error when Attribute is not derived from attribute
1 parent4d1f050 commit8314a87

File tree

38 files changed

+110
-10
lines changed

38 files changed

+110
-10
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: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4353,7 +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()=(3237, GetStringFunc("tastCantTakeAddressOfExpression",",,,"))
4356+
static membertastCantTakeAddressOfExpression()=(3238, GetStringFunc("tastCantTakeAddressOfExpression",",,,"))
4357+
/// This type is not an attribute
4358+
/// (Originally from ..\FSComp.txt:1442)
4359+
static membertcTypeDoesNotInheritAttribute()=(3238, GetStringFunc("tcTypeDoesNotInheritAttribute",",,,"))
43574360

43584361
/// Call this method once to validate that all known resources are valid; throws if not
43594362
static memberRunStartupValidation()=
@@ -5766,8 +5769,4 @@ type internal SR private() =
57665769
ignore(GetString("tastValueMustBeLocal"))
57675770
ignore(GetString("tcIsReadOnlyNotStruct"))
57685771
ignore(GetString("chkStructsMayNotReturnAddressesOfContents"))
5769-
ignore(GetString("chkNoByrefLikeFunctionCall"))
5770-
ignore(GetString("chkNoSpanLikeVariable"))
5771-
ignore(GetString("chkNoSpanLikeValueFromExpression"))
5772-
ignore(GetString("tastCantTakeAddressOfExpression"))
57735772
()
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