-
Notifications
You must be signed in to change notification settings - Fork 854
Expand file tree
/
Copy pathneg_invalid_constructor.fs.err.bsl
More file actions
22 lines (16 loc) · 1.32 KB
/
neg_invalid_constructor.fs.err.bsl
File metadata and controls
22 lines (16 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
neg_invalid_constructor.fs (3,29)-(3,43) typecheck error A unique overload for method 'ImmutableStack`1' could not be determined based on type information prior to this program point. A type annotation may be needed.
Known type of argument: 'a list
Candidates:
- new: col: 'b -> ImmutableStack<'a>
- private new: items: 'a list -> ImmutableStack<'a>
neg_invalid_constructor.fs (4,93)-(4,107) typecheck error A unique overload for method 'ImmutableStack`1' could not be determined based on type information prior to this program point. A type annotation may be needed.
Known type of argument: 'a list
Candidates:
- new: col: 'b -> ImmutableStack<'a>
- private new: items: 'a list -> ImmutableStack<'a>
neg_invalid_constructor.fs (7,30)-(7,44) typecheck error A unique overload for method 'ImmutableStack`1' could not be determined based on type information prior to this program point. A type annotation may be needed.
Known type of argument: 'a list
Candidates:
- new: col: 'b -> ImmutableStack<'a> when 'b :> 'c seq
- private new: items: 'a list -> ImmutableStack<'a>
neg_invalid_constructor.fs (7,30)-(7,60) typecheck error This is not a valid object construction expression. Explicit object constructors must either call an alternate constructor or initialize all fields of the object and specify a call to a super class constructor.