Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
36f01e36
F
fsharp
项目概览
dotNET Platform
/
fsharp
11 个月 前同步成功
通知
0
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
fsharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
36f01e36
编写于
5月 23, 2022
作者:
D
Don Syme
提交者:
GitHub
5月 23, 2022
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove experimental attributes for expanded measures (#13181)
上级
c95d6aaa
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
20 deletion
+2
-20
src/FSharp.Core/prim-types.fs
src/FSharp.Core/prim-types.fs
+2
-2
src/FSharp.Core/prim-types.fsi
src/FSharp.Core/prim-types.fsi
+0
-18
未找到文件。
src/FSharp.Core/prim-types.fs
浏览文件 @
36f01e36
...
...
@@ -251,10 +251,10 @@ namespace Microsoft.FSharp.Core
module
internal
ExperimentalAttributeMessages
=
[<
Literal
>]
let
RequiresPreview
:
string
=
"Experimental library feature, requires '--langversion:preview'"
let
RequiresPreview
:
string
=
"Experimental library feature, requires '--langversion:preview'"
[<
Literal
>]
let
NotSupportedYet
:
string
=
"This construct is not supported by your version of the F# compiler"
let
NotSupportedYet
:
string
=
"This construct is not supported by your version of the F# compiler"
[<
AttributeUsage
(
AttributeTargets
.
All
,
AllowMultiple
=
false
)>]
[<
Sealed
>]
...
...
src/FSharp.Core/prim-types.fsi
浏览文件 @
36f01e36
...
...
@@ -1007,7 +1007,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.IntPtr"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
[<
MeasureAnnotatedAbbreviation
>]
type
nativeint
<[<
Measure
>]
'
Measure
>
=
nativeint
...
...
@@ -1017,7 +1016,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.UInt32"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
[<
MeasureAnnotatedAbbreviation
>]
type
uint
<[<
Measure
>]
'
Measure
>
=
uint
...
...
@@ -1027,7 +1025,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.Byte"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
[<
MeasureAnnotatedAbbreviation
>]
type
byte
<[<
Measure
>]
'
Measure
>
=
byte
...
...
@@ -1037,7 +1034,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.UInt16"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
[<
MeasureAnnotatedAbbreviation
>]
type
uint16
<[<
Measure
>]
'
Measure
>
=
uint16
...
...
@@ -1047,7 +1043,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.UInt64"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
[<
MeasureAnnotatedAbbreviation
>]
type
uint64
<[<
Measure
>]
'
Measure
>
=
uint64
...
...
@@ -1057,7 +1052,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.UIntPtr"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
[<
MeasureAnnotatedAbbreviation
>]
type
unativeint
<[<
Measure
>]
'
Measure
>
=
unativeint
...
...
@@ -1067,7 +1061,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.Double"/>.</summary>
///
/// <category index="6">Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
type
double
<[<
Measure
>]
'
Measure
>
=
float
<
'
Measure
>
/// <summary>The type of single-precision floating point numbers, annotated with a unit of measure.
...
...
@@ -1076,7 +1069,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.Single"/>.</summary>
///
/// <category index="6">Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
type
single
<[<
Measure
>]
'
Measure
>
=
float32
<
'
Measure
>
/// <summary>The type of 8-bit signed integer numbers, annotated with a unit of measure.
...
...
@@ -1085,7 +1077,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.SByte"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
type
int8
<[<
Measure
>]
'
Measure
>
=
sbyte
<
'
Measure
>
/// <summary>The type of 32-bit signed integer numbers, annotated with a unit of measure.
...
...
@@ -1094,7 +1085,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.Int32"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
type
int32
<[<
Measure
>]
'
Measure
>
=
int
<
'
Measure
>
/// <summary>The type of 8-bit unsigned integer numbers, annotated with a unit of measure.
...
...
@@ -1103,7 +1093,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.Byte"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
type
uint8
<[<
Measure
>]
'
Measure
>
=
byte
<
'
Measure
>
/// <summary>The type of 32-bit unsigned integer numbers, annotated with a unit of measure.
...
...
@@ -1112,7 +1101,6 @@ namespace Microsoft.FSharp.Core
/// <see cref="T:System.UInt32"/>.</summary>
///
/// <category>Basic Types with Units of Measure</category>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
type
uint32
<[<
Measure
>]
'
Measure
>
=
uint
<
'
Measure
>
/// <summary>Represents a managed pointer in F# code.</summary>
...
...
@@ -1413,7 +1401,6 @@ namespace Microsoft.FSharp.Core
/// <param name="input">The input nativeint.</param>
///
/// <returns>The nativeint with units-of-measure.</returns>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
val
inline
IntPtrWithMeasure
:
input
:
nativeint
->
nativeint
<
'
Measure
>
/// <summary>Creates a uint value with units-of-measure</summary>
...
...
@@ -1421,7 +1408,6 @@ namespace Microsoft.FSharp.Core
/// <param name="input">The input uint.</param>
///
/// <returns>The uint with units-of-measure.</returns>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
val
inline
UInt32WithMeasure
:
input
:
uint
->
uint
<
'
Measure
>
/// <summary>Creates a uint64 value with units-of-measure</summary>
...
...
@@ -1429,7 +1415,6 @@ namespace Microsoft.FSharp.Core
/// <param name="input">The input uint64.</param>
///
/// <returns>The uint64 with units-of-measure.</returns>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
val
inline
UInt64WithMeasure
:
input
:
uint64
->
uint64
<
'
Measure
>
/// <summary>Creates a uint16 value with units-of-measure</summary>
...
...
@@ -1437,7 +1422,6 @@ namespace Microsoft.FSharp.Core
/// <param name="input">The input uint16.</param>
///
/// <returns>The uint16 with units-of-measure.</returns>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
val
inline
UInt16WithMeasure
:
input
:
uint16
->
uint16
<
'
Measure
>
/// <summary>Creates a byte value with units-of-measure</summary>
...
...
@@ -1445,7 +1429,6 @@ namespace Microsoft.FSharp.Core
/// <param name="input">The input byte.</param>
///
/// <returns>The byte with units-of-measure.</returns>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
val
inline
ByteWithMeasure
:
input
:
byte
->
byte
<
'
Measure
>
/// <summary>Creates a unativeint value with units-of-measure</summary>
...
...
@@ -1453,7 +1436,6 @@ namespace Microsoft.FSharp.Core
/// <param name="input">The input unativeint.</param>
///
/// <returns>The unativeint with units-of-measure.</returns>
[<
Experimental
(
"Experimental library feature, requires '--langversion:preview'"
)>]
val
inline
UIntPtrWithMeasure
:
input
:
unativeint
->
unativeint
<
'
Measure
>
/// <summary>Parse an int32 according to the rules used by the overloaded 'int32' conversion operator when applied to strings</summary>
...
...
麦壳饼
@mysticboy
mentioned in commit
5f68ca27
·
7月 25, 2022
mentioned in commit
5f68ca27
mentioned in commit 5f68ca27e8faaefb0f271168d771175c40c5c98b
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录