|
1 | 1 |
|
2 |
| -E_LessThanDotOpenParen001.fsx(13,71,13,75): typecheck error FS0193: A type parameter is missing a constraint 'when ( ^T or ^?8151) : (static member ( + ) : ^T * ^?8151 -> ^?8152)' |
3 |
| - |
4 |
| -E_LessThanDotOpenParen001.fsx(13,73,13,75): typecheck error FS0064: This construct causes code to be less generic than indicated by the type annotations. The type variable 'S has been constrained to be type 'int'. |
5 |
| - |
6 |
| -E_LessThanDotOpenParen001.fsx(13,27,13,30): typecheck error FS1198: The generic member '( +++ )' has been used at a non-uniform instantiation prior to this program point. Consider reordering the members so this member occurs first. Alternatively, specify the full type of the member explicitly, including argument types, return type and any additional generic parameters and constraints. |
7 |
| - |
8 |
| -E_LessThanDotOpenParen001.fsx(13,19,13,67): typecheck error FS0670: This code is not sufficiently generic. The type variable ^T when ^T : (static member ( + ) : ^T * ^T -> ^a) could not be generalized because it would escape its scope. |
9 |
| - |
10 |
| -E_LessThanDotOpenParen001.fsx(26,12,26,15): typecheck error FS0043: No overloads match for method 'op_PlusPlusPlus'. |
| 2 | +E_LessThanDotOpenParen001.fsx(23,12,23,15): typecheck error FS0043: No overloads match for method 'op_PlusPlusPlus'. |
11 | 3 |
|
12 | 4 | Known return type: ^a
|
13 | 5 |
|
14 | 6 | Known type parameters: < (string -> int) , TestType<int,string> >
|
15 | 7 |
|
16 | 8 | Available overloads:
|
17 | 9 | - static member TestType.( +++ ) : a:'T * b:TestType<'T,'S> -> 'T // Argument 'a' doesn't match
|
18 |
| - - static member TestType.( +++ ) : a:(int -> 'T) * b:TestType<'T,int> -> ^a when ^T1 : (static member ( + ) : ^T1 * ^T1 -> ^a) // Argument 'a' doesn't match |
19 | 10 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:'T -> 'T // Argument 'a' doesn't match
|
20 | 11 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:('T -> 'S) -> 'T // Argument 'a' doesn't match
|
21 | 12 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:TestType<'T,'S> -> 'T // Argument 'a' doesn't match
|
22 | 13 |
|
23 |
| -E_LessThanDotOpenParen001.fsx(28,10,28,45): typecheck error FS0041: No overloads match for method 'op_PlusPlusPlus'. |
| 14 | +E_LessThanDotOpenParen001.fsx(25,10,25,45): typecheck error FS0041: No overloads match for method 'op_PlusPlusPlus'. |
24 | 15 |
|
25 | 16 | Known types of arguments: (string -> int) * TestType<int,string>
|
26 | 17 |
|
27 | 18 | Available overloads:
|
28 | 19 | - static member TestType.( +++ ) : a:'T * b:TestType<'T,'S> -> 'T // Argument 'a' doesn't match
|
29 |
| - - static member TestType.( +++ ) : a:(int -> 'T) * b:TestType<'T,int> -> ^a when ^T1 : (static member ( + ) : ^T1 * ^T1 -> ^a) // Argument 'a' doesn't match |
30 | 20 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:'T -> 'T // Argument 'a' doesn't match
|
31 | 21 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:('T -> 'S) -> 'T // Argument 'a' doesn't match
|
32 | 22 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:TestType<'T,'S> -> 'T // Argument 'a' doesn't match
|
33 | 23 |
|
34 |
| -E_LessThanDotOpenParen001.fsx(29,44,29,54): typecheck error FS0001: This expression was expected to have type |
35 |
| - 'int' |
36 |
| -but here has type |
37 |
| - 'string' |
38 |
| - |
39 |
| -E_LessThanDotOpenParen001.fsx(29,10,29,68): typecheck error FS0041: No overloads match for method 'op_PlusPlusPlus'. |
| 24 | +E_LessThanDotOpenParen001.fsx(26,10,26,68): typecheck error FS0041: No overloads match for method 'op_PlusPlusPlus'. |
40 | 25 |
|
41 |
| -Known types of arguments: (int -> 'a) * TestType<int,string> |
| 26 | +Known types of arguments: (string -> int) * TestType<int,string> |
42 | 27 |
|
43 | 28 | Available overloads:
|
44 | 29 | - static member TestType.( +++ ) : a:'T * b:TestType<'T,'S> -> 'T // Argument 'a' doesn't match
|
45 |
| - - static member TestType.( +++ ) : a:(int -> 'T) * b:TestType<'T,int> -> ^a when ^T1 : (static member ( + ) : ^T1 * ^T1 -> ^a) // Argument 'b' doesn't match |
46 | 30 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:'T -> 'T // Argument 'a' doesn't match
|
47 | 31 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:('T -> 'S) -> 'T // Argument 'a' doesn't match
|
48 | 32 | - static member TestType.( +++ ) : a:TestType<'T,'S> * b:TestType<'T,'S> -> 'T // Argument 'a' doesn't match
|
0 commit comments