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
/// <summary>Represents a statically-analyzed format associated with writing to a <c>System.Text.StringBuilder</c>. The first type parameter indicates the
138
142
/// arguments of the format operation and the last the overall return type.</summary>
139
143
typeBuilderFormat<'T,'Result>= Format<'T, StringBuilder, unit, 'Result>
144
+
140
145
/// <summary>Represents a statically-analyzed format when formatting builds a string. The first type parameter indicates the
141
146
/// arguments of the format operation and the last the overall return type.</summary>
142
147
typeStringFormat<'T,'Result>= Format<'T, unit, string, 'Result>
148
+
143
149
/// <summary>Represents a statically-analyzed format associated with writing to a <c>System.IO.TextWriter</c>. The first type parameter indicates the
144
150
/// arguments of the format operation and the last the overall return type.</summary>
145
151
typeTextWriterFormat<'T,'Result>= Format<'T, TextWriter, unit, 'Result>
146
152
147
153
/// <summary>Represents a statically-analyzed format associated with writing to a <c>System.Text.StringBuilder</c>. The type parameter indicates the
148
154
/// arguments and return type of the format operation.</summary>
149
155
typeBuilderFormat<'T>= BuilderFormat<'T,unit>
156
+
150
157
/// <summary>Represents a statically-analyzed format when formatting builds a string. The type parameter indicates the
151
158
/// arguments and return type of the format operation.</summary>
152
159
typeStringFormat<'T>= StringFormat<'T,string>
160
+
153
161
/// <summary>Represents a statically-analyzed format associated with writing to a <c>System.IO.TextWriter</c>. The type parameter indicates the
154
162
/// arguments and return type of the format operation.</summary>
neg103.fs(5,50,5,61): typecheck error FS0001: Two anonymous record types have mismatched sets of field names '["a"; "b"]' and '["a"]'
3
-
4
-
neg103.fs(7,41,7,52): typecheck error FS0001: Two anonymous record types have mismatched sets of field names '["b"]' and '["a"]'
5
-
6
-
neg103.fs(10,27,10,55): typecheck error FS0059: The type '{|a : int|}' does not have any proper subtypes and need not be used as the target of a static coercion
7
-
8
-
neg103.fs(10,27,10,55): typecheck error FS0193: Type constraint mismatch. The type
9
-
'{|b : int|}'
10
-
is not compatible with type
11
-
'{|a : int|}'
12
-
13
-
14
-
neg103.fs(13,27,13,62): typecheck error FS0059: The type '{|a : int|}' does not have any proper subtypes and need not be used as the target of a static coercion
15
-
16
-
neg103.fs(13,27,13,62): typecheck error FS0193: Type constraint mismatch. The type
17
-
'{|a : int ; b : int|}'
18
-
is not compatible with type
19
-
'{|a : int|}'
20
-
21
-
22
-
neg103.fs(18,34,18,36): typecheck error FS0001: The type '('a -> 'a)' does not support the 'comparison' constraint. For example, it does not support the 'System.IComparable' interface
23
-
24
-
neg103.fs(20,42,20,44): typecheck error FS0001: The type '('a -> 'a)' does not support the 'comparison' constraint. For example, it does not support the 'System.IComparable' interface
2
+
neg103.fs(7,12,7,22): typecheck error FS0001: This expression was expected to have type
3
+
'Async<'a>'
4
+
but here has type
5
+
'string'
6
+
7
+
neg103.fs(12,7,12,15): typecheck error FS0001: This expression was expected to have type
8
+
'int'
9
+
but here has type
10
+
'MyUnion'
11
+
12
+
neg103.fs(17,7,17,15): typecheck error FS0001: This expression was expected to have type
13
+
'int'
14
+
but here has type
15
+
'MyUnion'
16
+
17
+
neg103.fs(21,7,21,9): typecheck error FS0001: This expression was expected to have type
18
+
'Async<int>'
19
+
but here has type
20
+
'int'
21
+
22
+
neg103.fs(25,11,25,19): typecheck error FS0001: This expression was expected to have type
neg103.fs(5,50,5,61): typecheck error FS0001: Two anonymous record types have mismatched sets of field names '["a";"b"]'and '["a"]'
3
+
4
+
neg103.fs(7,41,7,52): typecheck error FS0001: Two anonymous record types have mismatched sets of field names '["b"]'and '["a"]'
5
+
6
+
neg103.fs(10,27,10,55): typecheck error FS0059: The type '{|a : int|}' doesnot have any proper subtypesand neednot be used as the target of a static coercion
7
+
8
+
neg103.fs(10,27,10,55): typecheck error FS0193: Type constraint mismatch. The type
9
+
'{|b : int|}'
10
+
isnot compatible with type
11
+
'{|a : int|}'
12
+
13
+
14
+
neg103.fs(13,27,13,62): typecheck error FS0059: The type '{|a : int|}' doesnot have any proper subtypesand neednot be used as the target of a static coercion
15
+
16
+
neg103.fs(13,27,13,62): typecheck error FS0193: Type constraint mismatch. The type
17
+
'{|a : int; b : int|}'
18
+
isnot compatible with type
19
+
'{|a : int|}'
20
+
21
+
22
+
neg103.fs(18,34,18,36): typecheck error FS0001: The type '('a-> 'a)' doesnot support the 'comparison' constraint.For example, it doesnot support the 'System.IComparable' interface
23
+
24
+
neg103.fs(20,42,20,44): typecheck error FS0001: The type '('a-> 'a)' doesnot support the 'comparison' constraint.For example, it doesnot support the 'System.IComparable' interface
neg104.fs(35,19,35,20): parse error FS0010: Unexpected symbol '}'in definition. Expected incomplete structured construct ator before this pointor other token.
19
19
20
-
neg104.fs(35,1,35,20): parse error FS0010: Incomplete structured construct ator before this pointin implementation file
20
+
neg104.fs(36,1,36,1): parse error FS0010: Incomplete structured construct ator before this pointin implementation file
neg104.fs(35,19,35,20): parse error FS0010: Unexpected symbol '}' in definition. Expected incomplete structured construct at or before this point or other token.
19
19
20
-
neg104.fs(35,1,35,20): parse error FS0010: Incomplete structured construct at or before this point in implementation file
20
+
neg104.fs(36,1,36,1): parse error FS0010: Incomplete structured construct at or before this point in implementation file
21
21
22
22
neg104.fs(8,9,8,30): typecheck error FS0750: This construct may only be used within computation expressions
neg104b.fs(8,5,8,8): parse error FS0058: Possible incorrect indentation: this token is offside of context started at position (6:29).Try indenting this token furtheror using standard formatting conventions.
7
+
8
+
neg104b.fs(10,5,10,9): parse error FS0058: Possible incorrect indentation: this token is offside of context started at position (8:5).Try indenting this token furtheror using standard formatting conventions.
9
+
10
+
neg104b.fs(10,5,10,9): parse error FS0010: Unexpected keyword 'type'in binding. Expected incomplete structured construct ator before this pointor other token.
11
+
12
+
neg104b.fs(6,5,6,8): parse error FS3118: Incomplete valueor function definition.If this isin an expression, the body of the expression must be indentedto the same column as the 'let' keyword.
13
+
14
+
neg104b.fs(10,25,10,26): parse error FS0010: Unexpected symbol '}'in type definition. Expected '|}'or other token.
neg104b.fs(12,5,12,8): parse error FS0058: Possible incorrect indentation: this token is offside of context started at position (10:14).Try indenting this token furtheror using standard formatting conventions.
19
+
20
+
neg104b.fs(14,1,14,1): parse error FS0010: Incomplete structured construct ator before this pointin implementation file