Skip to content

Commit 36f01e3

Browse files
authored
remove experimental attributes for expanded measures (#13181)
1 parent c95d6aa commit 36f01e3

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

src/FSharp.Core/prim-types.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ namespace Microsoft.FSharp.Core
251251

252252
module internal ExperimentalAttributeMessages =
253253
[<Literal>]
254-
let RequiresPreview : string = "Experimental library feature, requires '--langversion:preview'"
254+
let RequiresPreview: string = "Experimental library feature, requires '--langversion:preview'"
255255

256256
[<Literal>]
257-
let NotSupportedYet : string = "This construct is not supported by your version of the F# compiler"
257+
let NotSupportedYet: string = "This construct is not supported by your version of the F# compiler"
258258

259259
[<AttributeUsage(AttributeTargets.All, AllowMultiple=false)>]
260260
[<Sealed>]

src/FSharp.Core/prim-types.fsi

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,6 @@ namespace Microsoft.FSharp.Core
10071007
/// <see cref="T:System.IntPtr"/>.</summary>
10081008
///
10091009
/// <category>Basic Types with Units of Measure</category>
1010-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10111010
[<MeasureAnnotatedAbbreviation>]
10121011
type nativeint<[<Measure>] 'Measure> = nativeint
10131012

@@ -1017,7 +1016,6 @@ namespace Microsoft.FSharp.Core
10171016
/// <see cref="T:System.UInt32"/>.</summary>
10181017
///
10191018
/// <category>Basic Types with Units of Measure</category>
1020-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10211019
[<MeasureAnnotatedAbbreviation>]
10221020
type uint<[<Measure>] 'Measure> = uint
10231021

@@ -1027,7 +1025,6 @@ namespace Microsoft.FSharp.Core
10271025
/// <see cref="T:System.Byte"/>.</summary>
10281026
///
10291027
/// <category>Basic Types with Units of Measure</category>
1030-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10311028
[<MeasureAnnotatedAbbreviation>]
10321029
type byte<[<Measure>] 'Measure> = byte
10331030

@@ -1037,7 +1034,6 @@ namespace Microsoft.FSharp.Core
10371034
/// <see cref="T:System.UInt16"/>.</summary>
10381035
///
10391036
/// <category>Basic Types with Units of Measure</category>
1040-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10411037
[<MeasureAnnotatedAbbreviation>]
10421038
type uint16<[<Measure>] 'Measure> = uint16
10431039

@@ -1047,7 +1043,6 @@ namespace Microsoft.FSharp.Core
10471043
/// <see cref="T:System.UInt64"/>.</summary>
10481044
///
10491045
/// <category>Basic Types with Units of Measure</category>
1050-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10511046
[<MeasureAnnotatedAbbreviation>]
10521047
type uint64<[<Measure>] 'Measure> = uint64
10531048

@@ -1057,7 +1052,6 @@ namespace Microsoft.FSharp.Core
10571052
/// <see cref="T:System.UIntPtr"/>.</summary>
10581053
///
10591054
/// <category>Basic Types with Units of Measure</category>
1060-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10611055
[<MeasureAnnotatedAbbreviation>]
10621056
type unativeint<[<Measure>] 'Measure> = unativeint
10631057

@@ -1067,7 +1061,6 @@ namespace Microsoft.FSharp.Core
10671061
/// <see cref="T:System.Double"/>.</summary>
10681062
///
10691063
/// <category index="6">Basic Types with Units of Measure</category>
1070-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10711064
type double<[<Measure>] 'Measure> = float<'Measure>
10721065

10731066
/// <summary>The type of single-precision floating point numbers, annotated with a unit of measure.
@@ -1076,7 +1069,6 @@ namespace Microsoft.FSharp.Core
10761069
/// <see cref="T:System.Single"/>.</summary>
10771070
///
10781071
/// <category index="6">Basic Types with Units of Measure</category>
1079-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10801072
type single<[<Measure>] 'Measure> = float32<'Measure>
10811073

10821074
/// <summary>The type of 8-bit signed integer numbers, annotated with a unit of measure.
@@ -1085,7 +1077,6 @@ namespace Microsoft.FSharp.Core
10851077
/// <see cref="T:System.SByte"/>.</summary>
10861078
///
10871079
/// <category>Basic Types with Units of Measure</category>
1088-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10891080
type int8<[<Measure>] 'Measure> = sbyte<'Measure>
10901081

10911082
/// <summary>The type of 32-bit signed integer numbers, annotated with a unit of measure.
@@ -1094,7 +1085,6 @@ namespace Microsoft.FSharp.Core
10941085
/// <see cref="T:System.Int32"/>.</summary>
10951086
///
10961087
/// <category>Basic Types with Units of Measure</category>
1097-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
10981088
type int32<[<Measure>] 'Measure> = int<'Measure>
10991089

11001090
/// <summary>The type of 8-bit unsigned integer numbers, annotated with a unit of measure.
@@ -1103,7 +1093,6 @@ namespace Microsoft.FSharp.Core
11031093
/// <see cref="T:System.Byte"/>.</summary>
11041094
///
11051095
/// <category>Basic Types with Units of Measure</category>
1106-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
11071096
type uint8<[<Measure>] 'Measure> = byte<'Measure>
11081097

11091098
/// <summary>The type of 32-bit unsigned integer numbers, annotated with a unit of measure.
@@ -1112,7 +1101,6 @@ namespace Microsoft.FSharp.Core
11121101
/// <see cref="T:System.UInt32"/>.</summary>
11131102
///
11141103
/// <category>Basic Types with Units of Measure</category>
1115-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
11161104
type uint32<[<Measure>] 'Measure> = uint<'Measure>
11171105

11181106
/// <summary>Represents a managed pointer in F# code.</summary>
@@ -1413,47 +1401,41 @@ namespace Microsoft.FSharp.Core
14131401
/// <param name="input">The input nativeint.</param>
14141402
///
14151403
/// <returns>The nativeint with units-of-measure.</returns>
1416-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
14171404
val inline IntPtrWithMeasure: input: nativeint -> nativeint<'Measure>
14181405

14191406
/// <summary>Creates a uint value with units-of-measure</summary>
14201407
///
14211408
/// <param name="input">The input uint.</param>
14221409
///
14231410
/// <returns>The uint with units-of-measure.</returns>
1424-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
14251411
val inline UInt32WithMeasure: input: uint -> uint<'Measure>
14261412

14271413
/// <summary>Creates a uint64 value with units-of-measure</summary>
14281414
///
14291415
/// <param name="input">The input uint64.</param>
14301416
///
14311417
/// <returns>The uint64 with units-of-measure.</returns>
1432-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
14331418
val inline UInt64WithMeasure: input: uint64 -> uint64<'Measure>
14341419

14351420
/// <summary>Creates a uint16 value with units-of-measure</summary>
14361421
///
14371422
/// <param name="input">The input uint16.</param>
14381423
///
14391424
/// <returns>The uint16 with units-of-measure.</returns>
1440-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
14411425
val inline UInt16WithMeasure: input: uint16 -> uint16<'Measure>
14421426

14431427
/// <summary>Creates a byte value with units-of-measure</summary>
14441428
///
14451429
/// <param name="input">The input byte.</param>
14461430
///
14471431
/// <returns>The byte with units-of-measure.</returns>
1448-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
14491432
val inline ByteWithMeasure: input: byte -> byte<'Measure>
14501433

14511434
/// <summary>Creates a unativeint value with units-of-measure</summary>
14521435
///
14531436
/// <param name="input">The input unativeint.</param>
14541437
///
14551438
/// <returns>The unativeint with units-of-measure.</returns>
1456-
[<Experimental("Experimental library feature, requires '--langversion:preview'")>]
14571439
val inline UIntPtrWithMeasure: input: unativeint -> unativeint<'Measure>
14581440

14591441
/// <summary>Parse an int32 according to the rules used by the overloaded 'int32' conversion operator when applied to strings</summary>

0 commit comments

Comments
 (0)