You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FSharp.Data.Runtime.Utilities/StructuralInference.fs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@ open FSharp.Data.Runtime.StructuralTypes
13
13
openSystem.Text.RegularExpressions
14
14
15
15
/// This is the internal DU representing all the valid cases we support, mapped from the public InferenceMode.
16
-
[<Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
16
+
[<Struct;
17
+
Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
Copy file name to clipboardExpand all lines: src/FSharp.Data.Runtime.Utilities/StructuralTypes.fs
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ type InferedProperty =
20
20
/// For heterogeneous types (types that have multiple possible forms
21
21
/// such as differently named XML nodes or records and arrays mixed together)
22
22
/// this type represents the number of occurrences of individual forms
23
-
[<Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
23
+
[<Struct;
24
+
Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
24
25
typeInferedMultiplicity=
25
26
| Single
26
27
| OptionalSingle
@@ -188,23 +189,26 @@ type internal InferedTypeTag with
188
189
189
190
/// Dummy type to represent that only "0" was found.
190
191
/// Will be generated as 'int', unless it's converted to Bit.
191
-
[<Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
192
+
[<Struct;
193
+
Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
192
194
typeBit0= Bit0
193
195
194
196
/// Dummy type to represent that only "1" was found
195
197
/// Will be generated as 'int', unless it's converted to Bit
196
-
[<Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
198
+
[<Struct;
199
+
Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
197
200
typeBit1= Bit1
198
201
199
202
/// Dummy type to represent that only one of "0" and "1" were found
200
203
/// Will be generated as a 'bool', unless it's converted to another numerical type
201
-
[<Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
204
+
[<Struct;
205
+
Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
[<Obsolete("This API will be made internal in a future release. Please file an issue at https://github.com/fsprojects/FSharp.Data/issues/1458 if you need this public.")>]
0 commit comments