Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
1e00e9d
migrate (as a separate copy) fsharpqa tests that are going to be impa…
smoothdeveloper Apr 30, 2019
0f01896
update the .bsl files
smoothdeveloper Apr 30, 2019
8b0c809
remove comments that are handled by baseline files, update baseline f…
smoothdeveloper Apr 30, 2019
15823c0
remove the migrated tests from fsharpqa tests
smoothdeveloper Apr 30, 2019
7d6b203
need to be more careful when migrating those
smoothdeveloper Apr 30, 2019
d4c378e
testing if running the test with .fs instead of .fsx makes them work …
smoothdeveloper Apr 30, 2019
efd70e3
exclude migrated fsharpqa from dotnet core run
smoothdeveloper Apr 30, 2019
b343d33
sample test in fsharpqa (can't run locally for now)
smoothdeveloper Apr 20, 2019
05b6055
trying to make it green now.
smoothdeveloper Apr 21, 2019
2a4ccdc
checking if this path is covered by a test, trying to identify how to…
smoothdeveloper Apr 21, 2019
3eab5f2
* [MethodCalls.fs] Defining CallerArgs<'T> in, this replaces passing …
smoothdeveloper Apr 22, 2019
d59606d
bit of refactoring of error message building logic during failed over…
smoothdeveloper Apr 23, 2019
bd2932d
(buildfix) harmonizing .fsi/.fs right before commit doesn't always wo…
smoothdeveloper Apr 23, 2019
723eb07
trying to check what kind of things break loose when I change this
smoothdeveloper Apr 24, 2019
fdb48e1
(minor) [ConstraintSolver.fs] revert space mishapps to reduce diff, p…
smoothdeveloper Apr 24, 2019
2e74e08
toward displaying the argument names properly (may fail some fsharpqa…
smoothdeveloper Apr 24, 2019
f41a791
missing Resharper's Ctrl+Alt+V "introduce variable" refactoring @audu…
smoothdeveloper Apr 24, 2019
9d76863
pretty print unresolved overloads without all the type submsumption p…
smoothdeveloper Apr 25, 2019
7437b53
Overload resolution error messages: things display like I want in fsi…
smoothdeveloper Apr 25, 2019
ed466df
adjust message for candidates overload
smoothdeveloper Apr 26, 2019
3b1fe30
Refactoring around `CallerArg`
smoothdeveloper Apr 27, 2019
b2a5946
Hijack the split phase for UnresolvedOverloading, remove the match on…
smoothdeveloper Apr 29, 2019
950d64f
updating existing failing baseline files that looks correct to me
smoothdeveloper Apr 29, 2019
c1d9619
quickfix for update.base.line.with.actuals.fsx so that it skips missi…
smoothdeveloper Apr 29, 2019
797a31d
(minor) minimize diff, typos, comments
smoothdeveloper Apr 30, 2019
1df43c1
fix vsintegration tests affected by overload error message changes
smoothdeveloper Apr 30, 2019
5a3f77e
merge issue unused variable warning
smoothdeveloper Apr 30, 2019
1e26d72
update the 12 fsharpqa migrated baseline with new error messages
smoothdeveloper Apr 30, 2019
dc40085
(minor) baseline update script
smoothdeveloper Apr 30, 2019
ededba9
move System.Convert.ToString and System.Threading.Tasks.Task.Run test…
smoothdeveloper Apr 30, 2019
4118790
* moving 3 fsharpqa tests to new test suite
smoothdeveloper May 2, 2019
2d2ee31
consolidate all string building logic in CompileOps.fs, fix remaining…
smoothdeveloper May 2, 2019
70ebbcd
update base lines
smoothdeveloper May 2, 2019
3882a83
remove the migrated tests from fsharpqa
smoothdeveloper May 2, 2019
b86d5b9
fix vstest error message
smoothdeveloper May 2, 2019
062f1ac
fix env.lst, removed wrong one...
smoothdeveloper May 2, 2019
d8503be
update baselines of remaining tests
smoothdeveloper May 2, 2019
b90c37d
adding one simple test with many overloads
smoothdeveloper May 2, 2019
3749dc7
appropriate /// comments on `CalledMeth` constructor arguments
smoothdeveloper May 2, 2019
1b2a7f5
minimize diff / formatting
smoothdeveloper May 2, 2019
68792c5
trim unused code
smoothdeveloper May 2, 2019
56ab693
add simple test, one message is interesting, mentioning parameter cou…
smoothdeveloper May 3, 2019
5d23a08
comment flaky test for now
smoothdeveloper May 3, 2019
dd376f3
code review on the `coerceExpr` function from @tihan, we can discard …
smoothdeveloper May 8, 2019
d90439a
code formatting remarks on ConstraintSolver.fs/fsi
smoothdeveloper May 14, 2019
e138e94
`CallerArg`: use plain constructor rather than functions
smoothdeveloper May 14, 2019
ee8af88
(minor) formatting
smoothdeveloper May 14, 2019
3ecd438
format known argument type / updating .bsl
smoothdeveloper May 16, 2019
b58bb44
update missing baseline
smoothdeveloper May 16, 2019
b6c628e
update missing baselines
smoothdeveloper May 16, 2019
3acee0f
update missing baseline
smoothdeveloper May 16, 2019
d6b1198
minor: make TTrait better in debugger display
smoothdeveloper Aug 24, 2019
8c01c6a
[wip] pass TraitConstraintInfo around failed overload resolution erro…
smoothdeveloper Aug 24, 2019
5326132
minimize diff
smoothdeveloper Aug 27, 2019
06d622f
fix missing calls to CallerArgs.make that should be a plain record in…
smoothdeveloper Aug 27, 2019
4ff46a0
signature file mismatch
smoothdeveloper Aug 27, 2019
fec7374
removing duplicate in fscomp.txt
smoothdeveloper Dec 27, 2019
47f2217
surfacing initial bits of TraitConstraintInfo, roughly for now
smoothdeveloper Dec 27, 2019
650a25e
formatting types of known argument in one go, the formatting is still…
smoothdeveloper Jan 12, 2020
b1067f4
rework of overload failure message to prettify *ALL* types in a singl…
smoothdeveloper Jan 15, 2020
2a02797
fixup the tests and add two tests
smoothdeveloper Jan 15, 2020
31302fb
updating baselines that got tighter.
smoothdeveloper Jan 16, 2020
e5d87db
simplify handling of TraitConstraintInfo
smoothdeveloper Jan 16, 2020
1c7c5dd
naming couple of fields and turning a property to a methods as it tri…
smoothdeveloper Jan 17, 2020
82b8585
comments in the assembling of overload resolution error message
smoothdeveloper Jan 17, 2020
fdabb8d
Add information about which argument doesn't match
smoothdeveloper Jan 19, 2020
1ce83b7
minor updates to testguide and devguide
smoothdeveloper Jan 19, 2020
94fe319
fix PrimitiveConstraints.``Invalid object constructor`` test
smoothdeveloper Jan 19, 2020
88883f2
fix(?) salsa tests
smoothdeveloper Jan 19, 2020
0ef5c5a
minimize diff
smoothdeveloper Jan 19, 2020
94fc0aa
put back tests under !FSHARP_SUITE_DRIVES_CORECLR_TESTS
smoothdeveloper Jan 19, 2020
16204ef
missing updated message
smoothdeveloper Jan 19, 2020
2b81768
minor adjustments to TESTGUIDE.md
smoothdeveloper Jan 19, 2020
f5b33dd
return type was missing prettifying in prettyLayoutsOfUnresolvedOverl…
smoothdeveloper Jan 19, 2020
dafdf5c
address code review nits / minimize diff / add comment on PrettifyDis…
smoothdeveloper Jan 22, 2020
a51e852
minimize diff
smoothdeveloper Jan 22, 2020
f2bb3b8
proposed work around the flaky error message until https://github.com…
smoothdeveloper Jan 22, 2020
46bb5d5
fixing baselines of new tests from master
smoothdeveloper Jan 22, 2020
e50cfba
sisyphus round of baseline update
smoothdeveloper Jan 22, 2020
9246b82
removing type which isn't in use and popped back up after rebase
smoothdeveloper Jan 22, 2020
d5edf2c
minimize diff
smoothdeveloper Jan 23, 2020
69bcd70
tidy inconsistent tuple literal
smoothdeveloper Jan 23, 2020
fd48d39
* removing TTrait properties that end up not being used
smoothdeveloper Jan 23, 2020
27c0806
minimize diff
smoothdeveloper Jan 23, 2020
000d414
minimize diff
smoothdeveloper Jan 23, 2020
faf86ad
minimize diff
smoothdeveloper Jan 23, 2020
b968b15
link to usage example in same file
smoothdeveloper Jan 24, 2020
f302e63
revert converting CallerArg single cased DU into Record
smoothdeveloper Jan 29, 2020
546b8ec
minimize diff
smoothdeveloper Jan 29, 2020
bddf474
minimize diff
smoothdeveloper Jan 29, 2020
6c2aa58
minimize diff
smoothdeveloper Jan 29, 2020
26fab46
minimize diff
smoothdeveloper Jan 29, 2020
50c8414
minimize diff
smoothdeveloper Jan 29, 2020
bba6a44
Update Makefile
smoothdeveloper Feb 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update baselines of remaining tests
  • Loading branch information
smoothdeveloper committed Jan 31, 2020
commit d8503bee3d0b5d27cc0568a0ac91b4e847e0d760
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ E_LessThanDotOpenParen001.fsx(18,27,18,30): typecheck error FS1198: The generic

E_LessThanDotOpenParen001.fsx(18,19,18,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.

E_LessThanDotOpenParen001.fsx(31,12,31,15): typecheck error FS0043: No overloads match for method 'op_PlusPlusPlus'.Available overloads:
E_LessThanDotOpenParen001.fsx(31,12,31,15): typecheck error FS0043: No overloads match for method 'op_PlusPlusPlus'.



Available overloads:
- static member TestType.( +++ ) : a:'T * b:TestType<'T,'S> -> 'T

- static member TestType.( +++ ) : a:(int -> 'T) * b:TestType<'T,int> -> ^a when ^T1 : (static member ( + ) : ^T1 * ^T1 -> ^a)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

E_Clashing_Values_in_AbstractClass01.fsx(22,11,22,16): typecheck error FS0041: A unique overload for method 'X' could not be determined based on type information prior to this program point. A type annotation may be needed.Candidates:
E_Clashing_Values_in_AbstractClass01.fsx(22,11,22,16): typecheck error FS0041: A unique overload for method 'X' could not be determined based on type information prior to this program point. A type annotation may be needed.



Candidates:
- member Q.X : unit -> decimal

- member Q.X : unit -> float
13 changes: 12 additions & 1 deletion tests/fsharp/typecheck/sigs/neg06.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ neg06.fs(350,13,350,21): typecheck error FS0039: The value or constructor 'BadTy

neg06.fs(375,9,375,10): typecheck error FS1197: The parameter 'x' was inferred to have byref type. Parameters of byref type must be given an explicit type annotation, e.g. 'x1: byref<int>'. When used, a byref parameter is implicitly dereferenced.

neg06.fs(382,13,382,19): typecheck error FS0041: A unique overload for method 'M1' could not be determined based on type information prior to this program point. A type annotation may be needed. Candidates: static member C.M1 : x:int -> int, static member C.M1 : x:string -> int
neg06.fs(382,13,382,19): typecheck error FS0041: A unique overload for method 'M1' could not be determined based on type information prior to this program point. A type annotation may be needed.



Argument given: 'a



Candidates:
- static member C.M1 : x:int -> int

- static member C.M1 : x:string -> int

neg06.fs(398,13,398,14): typecheck error FS0025: Incomplete pattern matches on this expression. For example, the value '0' may indicate a case not covered by the pattern(s). Unmatched elements will be ignored.
36 changes: 10 additions & 26 deletions tests/fsharp/typecheck/sigs/neg106.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ neg106.fs(13,18,13,72): typecheck error FS0041: No overloads match for method 'C


Arguments given:

- inref<int>

- int
Expand All @@ -16,31 +15,27 @@ Arguments given:


Available overloads:
- System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32

- System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int
- System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float

- System.Threading.Interlocked.CompareExchange(location1: byref<int64>, value: int64, comparand: int64) : int64

- System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32
- System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int

- System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float
- System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint

- System.Threading.Interlocked.CompareExchange(location1: byref<obj>, value: obj, comparand: obj) : obj

- System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint

- System.Threading.Interlocked.CompareExchange<'T when 'T : not struct>(location1: byref<'T>, value: 'T, comparand: 'T) : 'T



neg106.fs(17,59,17,61): typecheck error FS3236: Cannot take the address of the value returned from the expression. Assign the returned value to a let-bound value before taking the address.

neg106.fs(17,14,17,68): typecheck error FS0041: No overloads match for method 'CompareExchange'.



Arguments given:

- inref<int>

- int
Expand All @@ -50,23 +45,20 @@ Arguments given:


Available overloads:
- System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32

- System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int
- System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float

- System.Threading.Interlocked.CompareExchange(location1: byref<int64>, value: int64, comparand: int64) : int64

- System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32
- System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int

- System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float
- System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint

- System.Threading.Interlocked.CompareExchange(location1: byref<obj>, value: obj, comparand: obj) : obj

- System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint

- System.Threading.Interlocked.CompareExchange<'T when 'T : not struct>(location1: byref<'T>, value: 'T, comparand: 'T) : 'T



neg106.fs(23,35,23,39): typecheck error FS0001: Type mismatch. Expecting a
'byref<int>'
but given a
Expand All @@ -84,40 +76,32 @@ neg106.fs(40,18,40,32): typecheck error FS0041: No overloads match for method 'M


Arguments given:

- string

- inref<int>



Available overloads:

- static member C.M : a:string * x:byref<int> -> unit

- static member C.M : a:int * x:byref<int> -> unit


- static member C.M : a:string * x:byref<int> -> unit

neg106.fs(41,19,41,31): typecheck error FS0041: No overloads match for method 'M'.



Arguments given:

- int

- inref<int>



Available overloads:

- static member C.M : a:string * x:byref<int> -> unit

- static member C.M : a:int * x:byref<int> -> unit


- static member C.M : a:string * x:byref<int> -> unit

neg106.fs(49,22,49,26): typecheck error FS0001: Type mismatch. Expecting a
'byref<int>'
Expand Down
180 changes: 85 additions & 95 deletions tests/fsharp/typecheck/sigs/neg106.vsbsl
Original file line number Diff line number Diff line change
@@ -1,81 +1,63 @@

neg106.fs(8,59,8,61): typecheck error FS3230: A value defined in a module must be mutable in order to take its address, e.g. 'let mutable x = ...'

neg106.fs(13,18,13,72): typecheck error FS0041: No overloads match for method 'CompareExchange'. The available overloads are shown below.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<int>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<int64>, value: int64, comparand: int64) : int64'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<int64>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<float32>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<float>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<obj>, value: obj, comparand: obj) : obj'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<obj>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<nativeint>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange<'T when 'T : not struct>(location1: byref<'T>, value: 'T, comparand: 'T) : 'T'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<'a>'
.
neg106.fs(13,18,13,72): typecheck error FS0041: No overloads match for method 'CompareExchange'.



Arguments given:
- inref<int>

- int

- int



Available overloads:
- System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32

- System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float

- System.Threading.Interlocked.CompareExchange(location1: byref<int64>, value: int64, comparand: int64) : int64

- System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int

- System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint

- System.Threading.Interlocked.CompareExchange(location1: byref<obj>, value: obj, comparand: obj) : obj

- System.Threading.Interlocked.CompareExchange<'T when 'T : not struct>(location1: byref<'T>, value: 'T, comparand: 'T) : 'T

neg106.fs(17,59,17,61): typecheck error FS3236: Cannot take the address of the value returned from the expression. Assign the returned value to a let-bound value before taking the address.

neg106.fs(17,14,17,68): typecheck error FS0041: No overloads match for method 'CompareExchange'. The available overloads are shown below.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<int>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<int64>, value: int64, comparand: int64) : int64'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<int64>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<float32>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<float>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<obj>, value: obj, comparand: obj) : obj'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<obj>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<nativeint>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: Possible overload: 'System.Threading.Interlocked.CompareExchange<'T when 'T : not struct>(location1: byref<'T>, value: 'T, comparand: 'T) : 'T'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<'a>'
.
neg106.fs(17,14,17,68): typecheck error FS0041: No overloads match for method 'CompareExchange'.



Arguments given:
- inref<int>

- int

- int



Available overloads:
- System.Threading.Interlocked.CompareExchange(location1: byref<float32>, value: float32, comparand: float32) : float32

- System.Threading.Interlocked.CompareExchange(location1: byref<float>, value: float, comparand: float) : float

- System.Threading.Interlocked.CompareExchange(location1: byref<int64>, value: int64, comparand: int64) : int64

- System.Threading.Interlocked.CompareExchange(location1: byref<int>, value: int, comparand: int) : int

- System.Threading.Interlocked.CompareExchange(location1: byref<nativeint>, value: nativeint, comparand: nativeint) : nativeint

- System.Threading.Interlocked.CompareExchange(location1: byref<obj>, value: obj, comparand: obj) : obj

- System.Threading.Interlocked.CompareExchange<'T when 'T : not struct>(location1: byref<'T>, value: 'T, comparand: 'T) : 'T

neg106.fs(23,35,23,39): typecheck error FS0001: Type mismatch. Expecting a
'byref<int>'
Expand All @@ -89,29 +71,37 @@ but given a
'inref<int>'
The type 'ByRefKinds.InOut' does not match the type 'ByRefKinds.In'

neg106.fs(40,18,40,32): typecheck error FS0041: No overloads match for method 'M'. The available overloads are shown below.
neg106.fs(40,18,40,32): typecheck error FS0041: Possible overload: 'static member C.M : a:string * x:byref<int> -> unit'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<int>'
.
neg106.fs(40,18,40,32): typecheck error FS0041: Possible overload: 'static member C.M : a:int * x:byref<int> -> unit'. Type constraint mismatch. The type
'string'
is not compatible with type
'int'
.

neg106.fs(41,19,41,31): typecheck error FS0041: No overloads match for method 'M'. The available overloads are shown below.
neg106.fs(41,19,41,31): typecheck error FS0041: Possible overload: 'static member C.M : a:string * x:byref<int> -> unit'. Type constraint mismatch. The type
'int'
is not compatible with type
'string'
.
neg106.fs(41,19,41,31): typecheck error FS0041: Possible overload: 'static member C.M : a:int * x:byref<int> -> unit'. Type constraint mismatch. The type
'inref<int>'
is not compatible with type
'byref<int>'
.
neg106.fs(40,18,40,32): typecheck error FS0041: No overloads match for method 'M'.



Arguments given:
- string

- inref<int>



Available overloads:
- static member C.M : a:int * x:byref<int> -> unit

- static member C.M : a:string * x:byref<int> -> unit

neg106.fs(41,19,41,31): typecheck error FS0041: No overloads match for method 'M'.



Arguments given:
- int

- inref<int>



Available overloads:
- static member C.M : a:int * x:byref<int> -> unit

- static member C.M : a:string * x:byref<int> -> unit

neg106.fs(49,22,49,26): typecheck error FS0001: Type mismatch. Expecting a
'byref<int>'
Expand Down
Loading