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

Commit3d6cfcf

Browse files
committed
Roll back52a7252
1 parent66109b7 commit3d6cfcf

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

‎src/fsharp/FSharp.Core/prim-types.fs‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -656,17 +656,17 @@ namespace Microsoft.FSharp.Core
656656

657657
moduleLanguagePrimitives=
658658

659-
[<Sealed>]
660-
type(* internal*)ErrorStrings=
659+
660+
module(* internal*)ErrorStrings=
661661
//inlinefunctionscannotcallGetString,sowemustmakethesebitspublic
662-
staticmemberAddressOpNotFirstClassStringwithget()=SR.GetString(SR.addressOpNotFirstClass)
663-
staticmemberNoNegateMinValueStringwithget()=SR.GetString(SR.noNegateMinValue)
662+
letAddressOpNotFirstClassString=SR.GetString(SR.addressOpNotFirstClass)
663+
letNoNegateMinValueString=SR.GetString(SR.noNegateMinValue)
664664
//needstobepublictobevisiblefrominlinefunction'average'andothers
665-
staticmemberInputSequenceEmptyStringwithget()=SR.GetString(SR.inputSequenceEmpty)
665+
letInputSequenceEmptyString=SR.GetString(SR.inputSequenceEmpty)
666666
//needstobepublictobevisiblefrominlinefunction'average'andothers
667-
staticmemberInputArrayEmptyStringwithget()=SR.GetString(SR.arrayWasEmpty)
667+
letInputArrayEmptyString=SR.GetString(SR.arrayWasEmpty)
668668
//needstobepublictobevisiblefrominlinefunction'average'andothers
669-
staticmemberInputMustBeNonNegativeStringwithget()=SR.GetString(SR.inputMustBeNonNegative)
669+
letInputMustBeNonNegativeString=SR.GetString(SR.inputMustBeNonNegative)
670670

671671
[<CodeAnalysis.SuppressMessage("Microsoft.Design","CA1034:NestedTypesShouldNotBeVisible")>]//nestedmoduleOK
672672
moduleIntrinsicOperators=

‎src/fsharp/FSharp.Core/prim-types.fsi‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,23 +1015,22 @@ namespace Microsoft.FSharp.Core
10151015
val inline DivideByInt< ^T >:x:^T->y:int->^T when ^T:(static member DivideByInt:^T*int->^T)
10161016

10171017
///<summary>For compiler use only</summary>
1018-
[<Sealed>]
1019-
type(*internal*)ErrorStrings=
1018+
module(*internal*)ErrorStrings=
10201019

10211020
[<CompilerMessage("This value is for use by compiled F#code and should not be used directly",1204,IsHidden=true)>]
1022-
static memberInputSequenceEmptyString:string with get
1021+
valInputSequenceEmptyString:string
10231022

10241023
[<CompilerMessage("This value is for use by compiled F#code and should not be used directly",1204,IsHidden=true)>]
1025-
static memberInputArrayEmptyString:string with get
1024+
valInputArrayEmptyString:string
10261025

10271026
[<CompilerMessage("This value is for use by compiled F#code and should not be used directly",1204,IsHidden=true)>]
1028-
static memberAddressOpNotFirstClassString:string with get
1027+
valAddressOpNotFirstClassString:string
10291028

10301029
[<CompilerMessage("This value is for use by compiled F#code and should not be used directly",1204,IsHidden=true)>]
1031-
static memberNoNegateMinValueString:string with get
1030+
valNoNegateMinValueString:string
10321031

10331032
[<CompilerMessage("This value is for use by compiled F#code and should not be used directly",1204,IsHidden=true)>]
1034-
static memberInputMustBeNonNegativeString:string with get
1033+
valInputMustBeNonNegativeString:string
10351034

10361035

10371036
//-------------------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp