Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use System.ValueTuple.dll #2

Merged
merged 1,692 commits into from
Jul 6, 2016
Merged
Changes from 1 commit
Commits
Show all changes
1692 commits
Select commit Hold shift + click to select a range
59d0820
We should be constistent and use List.contains
forki May 20, 2016
86b80de
Use List.last from FSharp.Core
forki May 20, 2016
87d0802
Use List.singleton from FSharp.Core
forki May 20, 2016
fe2b815
Use Array.forall2 from FSharp.Core
forki May 20, 2016
3fa05c5
Use Array.take from FSharp.Core
forki May 20, 2016
2d95392
Merge pull request #1210 from forki/collections
dsyme May 25, 2016
841e8a6
Merge pull request #1213 from forki/coll-typechecker
KevinRansom May 25, 2016
83be66f
Merge pull request #1211 from forki/nameres
KevinRansom May 25, 2016
7c27eb8
remove nuget.org v2 feed, the v3 (faster) is already defined
enricosada May 25, 2016
1141996
Merge pull request #1222 from enricosada/remove_v2_nuget_feed
KevinRansom May 26, 2016
6591239
Merge pull request #1215 from vasily-kirichenko/optimizations2
dsyme May 26, 2016
ce8d032
integrate visualfsahrp master
dsyme May 26, 2016
a2c8216
fixes to order or processing
dsyme May 26, 2016
1b46daf
fix reporting of tycons
dsyme May 26, 2016
d2f5d56
fix tests
dsyme May 26, 2016
f47a6bb
Merge pull request #1102 from forki/error1
KevinRansom May 26, 2016
dfd3b0b
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme May 27, 2016
d8b3d35
fix test
dsyme May 27, 2016
d60abf7
ensure type names get name resolution recorded
dsyme May 27, 2016
d478c7b
fix compilation
vasily-kirichenko May 27, 2016
8954af0
Merge pull request #1 from vasily-kirichenko/tuple-spike-fix-compilation
dsyme May 27, 2016
63b974b
Trim FSharp.Core package dependencies
cartermp May 27, 2016
1f849e9
integrate visualfsharp master and delete experimental code
dsyme May 28, 2016
443a060
integrate visualfsharp master and delete experimental code (2)
dsyme May 28, 2016
02b490d
Merge pull request #1225 from cartermp/fscore-trim
KevinRansom May 30, 2016
56b4d55
Improve error reporting: Detect module declarations that incorrectly …
forki May 25, 2016
0e84190
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme May 31, 2016
ed93f9a
add more tests
dsyme May 31, 2016
e4b8360
add more tests, cleanup tests
dsyme May 31, 2016
6b41765
add mroe tests
dsyme May 31, 2016
3e54066
fix tets driver
dsyme May 31, 2016
da467eb
fix test driver
dsyme May 31, 2016
f98a9f0
avoid fsi for tests
dsyme May 31, 2016
3b662ee
Create test that reproduces #1231
forki Jun 1, 2016
301c2cc
Create a notnullFast primitive - fixes #1231
forki Jun 1, 2016
f473a1f
Create a IsNonNull primitive - fixes #1231
forki Jun 1, 2016
c7fb738
Add a test for structs
forki Jun 1, 2016
8746779
trial fix to name resolution
dsyme Jun 1, 2016
c2896f7
correct references to containing module
dsyme Jun 1, 2016
8d31e9e
more tests
dsyme Jun 1, 2016
468f191
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
Jun 1, 2016
95c1844
fix test
dsyme Jun 1, 2016
81b903e
Use IntrinsicFunctions.Dispose
forki Jun 1, 2016
20edccb
Merge pull request #1220 from forki/module
KevinRansom Jun 1, 2016
fe9d5bf
Copy opt/sig data with building proto compiler
Jun 1, 2016
0abec1c
Fix TargetFrameworkVersion for coreclr projects
Jun 2, 2016
f684adf
Update TESTGUIDE.md
taylorwood Jun 2, 2016
4d2563e
Expand unit-type-expected compiler warning
taylorwood Jun 2, 2016
5c913ca
fix recursive references to namespace being defined
dsyme Jun 2, 2016
4dabd40
fix core portable tests
dsyme Jun 2, 2016
a36f46f
Merge pull request #2 from dsyme/struct_records
dsyme Jun 2, 2016
6390519
fix build
dsyme Jun 2, 2016
4925b14
Merge branch 'struct_records' of https://github.com/TIHan/visualfshar…
dsyme Jun 2, 2016
6adad43
Merge pull request #1234 from taylorwood/patch-1
cartermp Jun 2, 2016
36cb012
possible fix to heisen bug in test
dsyme Jun 2, 2016
b742a9d
Merge pull request #1187 from otawfik-ms/1vsix
Jun 2, 2016
eb4d4e8
fix build (2)
dsyme Jun 2, 2016
6419c71
ILX cleanup (part 1)
dsyme Jun 2, 2016
195cd3b
ILX cleanup (part 2)
dsyme Jun 2, 2016
6210660
Ngen support for VisualFSharpVsix
Jun 2, 2016
4ce5de7
Fix test source links in TESTGUIDE.md
taylorwood Jun 2, 2016
978af30
Add failing test for issue #1126
taylorwood Jun 3, 2016
0e50de1
Turn warnings off for #nowarn statements in EvalSourceFiles
taylorwood Jun 3, 2016
e200666
Merge pull request #1238 from taylorwood/patch-1
cartermp Jun 3, 2016
a444f2f
Merge pull request #1236 from dsyme/ilx-cleanup
dsyme Jun 3, 2016
2329fc9
implement Underscore Literals
AviAvni Jun 3, 2016
be09c98
fix build
dsyme Jun 3, 2016
430eec5
positive tests for underscore literals
AviAvni Jun 3, 2016
ae68ba5
extract remove underscores to inline function
AviAvni Jun 3, 2016
38571be
ILX cleanup Part 2
dsyme Jun 3, 2016
6044a10
ILX cleanup Part 2 (b)
dsyme Jun 3, 2016
118cf7f
Check the value of the underscore literals are equals to rgular numer…
AviAvni Jun 3, 2016
b6d1245
Merge pull request #1244 from dsyme/ilx-cleanup3
dsyme Jun 3, 2016
eb54394
Merge pull request #620 from TIHan/struct_records
KevinRansom Jun 4, 2016
ac53c82
integrate and fix order of struct record computation
dsyme Jun 4, 2016
771d273
merge
AviAvni Jun 4, 2016
4ef264c
fix test
AviAvni Jun 4, 2016
0cda1c3
fix test
AviAvni Jun 4, 2016
c0a18da
ILX cleanup: do union/closure typedef generation in IlxGen phase
dsyme Jun 5, 2016
faec38b
Merge pull request #1245 from dsyme/ilx-cleanup-4
dsyme Jun 5, 2016
da0f68d
remove closure erasure phase
dsyme Jun 5, 2016
f6f55e7
Remove references to MS Open Tech
martinwoodward Jun 5, 2016
d762781
fix build break
dsyme Jun 6, 2016
a2c2031
Merge pull request #1246 from dsyme/ilx-cleanup-5
dsyme Jun 6, 2016
73e3fc9
Merge pull request #1247 from martinwoodward/update-copyright
KevinRansom Jun 6, 2016
d6a2426
Merge pull request #1239 from taylorwood/load-nowarn
KevinRansom Jun 6, 2016
65b178e
Merge pull request #1233 from forki/async-null
KevinRansom Jun 6, 2016
aa5b1e5
Added VS insertion manifests
Jun 6, 2016
45a0a58
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
Jun 6, 2016
de84623
Update unit-type-expected compiler warning
taylorwood Jun 6, 2016
3617da4
Merge pull request #931 from manofstick/manofstick-perf-range-enumera…
KevinRansom Jun 7, 2016
10559a9
put union erasure in IlxGen phase
dsyme Jun 7, 2016
5155939
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 7, 2016
06556b6
updates to tests
dsyme Jun 7, 2016
130fa52
remove dead code
dsyme Jun 7, 2016
e6821c1
Build VSIX after signing is complete
Jun 7, 2016
19af2c0
Merge pull request #1249 from otawfik-ms/insert
Jun 7, 2016
3600557
Add test case for unused result warning
taylorwood Jun 7, 2016
db7cea0
Declaring insertion projects as packages
Jun 8, 2016
a58efbf
Merge pull request #1250 from dsyme/ilx-cleanup-6
dsyme Jun 8, 2016
c9b78df
Added signing to missing projects
Jun 8, 2016
ef8c0cf
Introduced swix project for vsix install
Jun 9, 2016
2cc7a73
fix typo
AviAvni Jun 9, 2016
0705576
remove inline
AviAvni Jun 9, 2016
57a2fe9
restore inline
AviAvni Jun 9, 2016
6936f2f
Added common files to swixproj
Jun 9, 2016
6c35ff6
added templates to swixproj
Jun 9, 2016
8a67f44
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
Jun 9, 2016
93d43a1
Added vsix project dependencies
Jun 9, 2016
bfc92fb
Merge pull request #1243 from AviAvni/underscore-literals
KevinRansom Jun 9, 2016
091ea95
fix float parsing
AviAvni Jun 10, 2016
c3e65f4
Merge pull request #3 from Microsoft/master
AviAvni Jun 10, 2016
37092ed
add negative tests
AviAvni Jun 10, 2016
b276c96
add tests
AviAvni Jun 10, 2016
70f73df
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 10, 2016
25dc941
integrate master
dsyme Jun 10, 2016
425a1c5
ilx cleanup part 7
dsyme Jun 10, 2016
b372abd
fix IL test baselines
dsyme Jun 11, 2016
ab783a4
update debug flags for 64-bit ngen
dsyme Jun 11, 2016
29354ed
Merge pull request #1252 from dsyme/ilx-cleanup-7
dsyme Jun 11, 2016
dbf3a0c
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 11, 2016
25ed780
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 11, 2016
84e9c08
whitespace cleanup
dsyme Jun 13, 2016
81a334a
Merge pull request #1258 from dsyme/semicolons-1
dsyme Jun 13, 2016
373f0bb
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 13, 2016
a095928
whitespace
dsyme Jun 13, 2016
87fc720
change tests from member of class to value of function
AviAvni Jun 13, 2016
d7064b2
add delegate test improve description
AviAvni Jun 13, 2016
37bf5b0
add static do tests
AviAvni Jun 13, 2016
2a10e22
Renaming insertion packages to vsix/msi
Jun 13, 2016
830a1d4
Merge pull request #1259 from dsyme/semicolons2
dsyme Jun 13, 2016
d441be5
Fix templates imports
Jun 14, 2016
ba3fee7
struct unions
dsyme Jun 15, 2016
75eec14
struct unions
dsyme Jun 15, 2016
7ff92d4
Merge pull request #1132 from dsyme/mutrec
KevinRansom Jun 15, 2016
e8ec49b
Fixed msbuild targets redirects
Jun 15, 2016
f26b35b
integrate with master
dsyme Jun 15, 2016
4153ebb
fix for test
dsyme Jun 15, 2016
93f8799
fix for test
dsyme Jun 15, 2016
47077f6
limit conditional build and add more tests
dsyme Jun 15, 2016
28d4b05
fix tests
dsyme Jun 16, 2016
df300d1
minor fixes and more testing
dsyme Jun 16, 2016
b7eb48e
fix unit test build
dsyme Jun 16, 2016
6e23f15
add isStatic flag to ClassLetBinding and fix static do test
AviAvni Jun 16, 2016
4f06352
merge
AviAvni Jun 16, 2016
fe5d941
fix merge
AviAvni Jun 16, 2016
4c1f444
fix test
AviAvni Jun 16, 2016
3ccf46a
Merge pull request #1261 from otawfik-ms/modern
Jun 16, 2016
cacc03f
allow elimination of more copy-of-struct locals
dsyme Jun 16, 2016
6fd1c5e
Not generating assembly versions if it already exists
Jun 16, 2016
0e72beb
add new test for struct union codegen
dsyme Jun 16, 2016
583214b
fix new test for struct union codegen
dsyme Jun 17, 2016
691db9e
Test CI
dsyme Jun 17, 2016
0143a7a
Remove unused permitFsharpKeywords switch
forki Jun 15, 2016
540a0fe
Remove deprecated condition from lexer
forki Jun 15, 2016
9d00338
use pattern matching in lexer
forki Jun 15, 2016
6a60bd2
Remove unused permitFsharpKeywords switch
forki Jun 15, 2016
5ea4c31
integrate master
dsyme Jun 17, 2016
e441f49
use structs instead of hierarchy of objects in ilwrite.fs
dsyme Jun 17, 2016
355b708
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 17, 2016
eab154e
fix build
dsyme Jun 17, 2016
80cd434
fix build
dsyme Jun 17, 2016
d705557
first draft of fixed support
dsyme Jun 17, 2016
0756750
Update CallerFilePath tests to use current platform's path separator
latkin Jun 19, 2016
3a5e531
Merge pull request #1269 from otawfik-ms/fixmsbuild
dsyme Jun 20, 2016
9a275d0
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 20, 2016
8abdb3e
undo rename of an indentifier
dsyme Jun 20, 2016
989b7af
Merge pull request #1266 from dsyme/ilwrite-structs
dsyme Jun 20, 2016
6414cc3
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 20, 2016
00eeb2d
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 20, 2016
1c9dba4
fixed implementation
dsyme Jun 20, 2016
07a7ded
fix fixed
dsyme Jun 20, 2016
3db7a6f
fix tests
dsyme Jun 20, 2016
b3d130a
split appveyor into 3 parts
dsyme Jun 20, 2016
3365a62
Merge pull request #1271 from dsyme/master
dsyme Jun 20, 2016
9bc9f3e
Merge branch 'master' of https://github.com/dsyme/visualfsharp into f…
dsyme Jun 20, 2016
a4faea5
Merge branch 'master' of https://github.com/dsyme/visualfsharp into s…
dsyme Jun 20, 2016
94e125a
Merge pull request #1256 from AviAvni/underscore-literals
KevinRansom Jun 20, 2016
cad6ec2
Merge pull request #1263 from forki/clean-lex
KevinRansom Jun 20, 2016
a682a18
fix VS
dsyme Jun 20, 2016
c1512fc
change CI to part1/part2
dsyme Jun 21, 2016
8f0733c
proper codegen and add tests
dsyme Jun 21, 2016
f1c8a10
update tests
dsyme Jun 21, 2016
87f5ec5
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 21, 2016
daffe33
update baseline
dsyme Jun 21, 2016
5c1fa0b
revert changes to VisualFsharp.sln
dsyme Jun 21, 2016
d11d5a9
Remove Recursive constructor declared on CompilerMessageAttribute
dsyme Jun 21, 2016
7bb6e68
simplify tests
dsyme Jun 21, 2016
8cdaeca
test function capitalization
dsyme Jun 21, 2016
b322bb2
fix test
dsyme Jun 22, 2016
d61e67f
Merge pull request #1274 from dsyme/fix-1273
dsyme Jun 22, 2016
38657fa
add a warning to mutable use bindings
dsyme Jun 22, 2016
9fa8547
Show better error when using ref cell - fixes #1276
forki Jun 22, 2016
1599c24
unreserve various keywords
dsyme Jun 22, 2016
f9540e1
Fix Loc Typo
Jun 22, 2016
1ed7434
update tests
dsyme Jun 23, 2016
8331905
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 23, 2016
a400ecf
fix test
dsyme Jun 23, 2016
7cae7f1
fix test
dsyme Jun 23, 2016
6ef3546
feedback from code review
dsyme Jun 23, 2016
fa14845
fix tests
dsyme Jun 23, 2016
1f952d4
Merge pull request #1279 from dsyme/keywords-1
KevinRansom Jun 24, 2016
deea6a5
Merge pull request #1275 from forki/refcell
KevinRansom Jun 24, 2016
760a50b
Merge pull request #1235 from taylorwood/result-ignored
KevinRansom Jun 24, 2016
b7e2bf1
Merge pull request #1277 from dsyme/mutable-use
KevinRansom Jun 24, 2016
790d634
merge
KevinRansom Jun 24, 2016
4e562f3
merge
KevinRansom Jun 25, 2016
834d393
integrate and fix conflicts
dsyme Jun 25, 2016
8aefe6c
integrate and fix conflicts
dsyme Jun 25, 2016
8a5b795
integrate and fix conflicts
dsyme Jun 25, 2016
69be32f
integrate and fix conflicts
dsyme Jun 25, 2016
858eddf
Merge pull request #1270 from dsyme/fixed
KevinRansom Jun 27, 2016
a403249
update buildtools deps to https://github.com/dotnet/corefx/commit/96a…
enricosada Jun 27, 2016
8dcde4f
let's used .NET Core RTM ( version 1.0.0-preview2-003121 )
enricosada Jun 27, 2016
a2efe03
update deps to .NET Core 1.0 RTM
enricosada Jun 27, 2016
3cd1705
fix tf
enricosada Jun 27, 2016
eeef150
Update to rtm coreclr libraries
KevinRansom Jun 28, 2016
9e0d0da
null change
KevinRansom Jun 28, 2016
eb43b14
the `Microsoft.NETCore.Runtime` was a metapackage, use `Microsoft.NET…
enricosada Jun 27, 2016
a3acc9e
remove System.Runtime.InteropServices.PInvoke, use System.Runtime.Int…
enricosada Jun 27, 2016
daf8ebf
fix json
enricosada Jun 27, 2016
0a49e13
remove System.Runtime.InteropServices.PInvoke, use System.Runtime.Int…
enricosada Jun 27, 2016
edd6d32
use Microsoft.NETCore not prerelease
enricosada Jun 27, 2016
1803985
removed unused Microsoft.NETCore.ConsoleHost
enricosada Jun 27, 2016
fb1acf3
fix dependencies version, as published in nuget.org
enricosada Jun 28, 2016
ba5e8c2
the System.Runtime.InteropServices.PInvoke it's not needed
enricosada Jun 28, 2016
8a1d952
use Microsoft.NETCore.TestHost rtm version 1.0.0
enricosada Jun 28, 2016
44a569e
use Microsoft.NETCore.Runtime.CoreCLR instead of metapackage Microsof…
enricosada Jun 28, 2016
b693f57
fix target platform for tests ( 1.5 => 1.6 )
enricosada Jun 28, 2016
4f0c640
Update roslyn branch build badges
Jun 28, 2016
0e1bf8d
Merge branch 'netcorertm' of https://github.com/enricosada/visualfsha…
KevinRansom Jun 28, 2016
2cd7f7c
Fix indent in TypeChecker.fs
forki Jun 28, 2016
fd22b7e
Merge pull request #1292 from forki/cleanup-tc
dsyme Jun 29, 2016
ba337ae
remove semicolns
dsyme Jun 29, 2016
714ad7f
Merge pull request #1299 from dsyme/semis-1
dsyme Jun 29, 2016
e368e31
Merge https://github.com/Microsoft/visualfsharp
KevinRansom Jun 30, 2016
e47d536
fixes typo in #1129
Jul 1, 2016
0247247
Merge pull request #1305 from toburger/fix-byte-literal
dsyme Jul 1, 2016
de6c709
Add compipler perf scripts
dsyme Jul 1, 2016
9931f8d
Merge pull request #1307 from dsyme/compiler-perf-scripts
dsyme Jul 1, 2016
158b3df
updates to perf scripts
dsyme Jul 1, 2016
9c588af
Merge pull request #1309 from dsyme/perf-updates
dsyme Jul 1, 2016
1ce06f8
perf script updates
dsyme Jul 1, 2016
af5e7b0
Remove unused function.
gusty Jul 2, 2016
6639a3d
Merge branch 'master' of https://github.com/Microsoft/visualfsharp
KevinRansom Jul 2, 2016
a4c3d40
Merge pull request #1312 from gmpl/patch-1
dsyme Jul 3, 2016
78a8f52
Fix comment in build.bat and make build ci work
KevinRansom Jul 4, 2016
3ff41c3
Merge branch 'master' of https://github.com/Microsoft/visualfsharp
KevinRansom Jul 4, 2016
3d7588e
merge
KevinRansom Jul 4, 2016
b8093cc
Use System.ValueTuple.dll, omit tuples for portable47, until profile4…
KevinRansom Jul 6, 2016
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
Use Array.take from FSharp.Core
forki committed May 25, 2016
commit 3fa05c539b488c6b364426e431e7fc0dddd45ba3
2 changes: 0 additions & 2 deletions src/absil/illib.fs
Original file line number Diff line number Diff line change
@@ -85,8 +85,6 @@ module Order =

module Array =

let take n xs = xs |> Seq.take n |> Array.ofSeq

let mapq f inp =
match inp with
| [| |] -> inp
6 changes: 3 additions & 3 deletions src/fsharp/TypeChecker.fs
Original file line number Diff line number Diff line change
@@ -9457,16 +9457,16 @@ and TcMethodArg cenv env (lambdaPropagationInfo,tpenv) (lambdaPropagationInfoF

// Apply the F# 3.1 rule for extracting information for lambdas
//
// Before we check the argume, check to see if we can propagate info from a called lambda expression into the arguments of a received lambda
// Before we check the argument, check to see if we can propagate info from a called lambda expression into the arguments of a received lambda
begin
if lambdaPropagationInfoForArg.Length > 0 then
let allOverloadsAreFuncOrMismatchForThisArg =
lambdaPropagationInfoForArg |> Array.forall (function ArgDoesNotMatch | CallerLambdaHasArgTypes _ -> true | NoInfo | CalledArgMatchesType _ -> false)

if allOverloadsAreFuncOrMismatchForThisArg then
let overloadsWhichAreFuncAtThisPosition = lambdaPropagationInfoForArg |> Array.choose (function CallerLambdaHasArgTypes r -> Some r | _ -> None)
let overloadsWhichAreFuncAtThisPosition = lambdaPropagationInfoForArg |> Array.choose (function CallerLambdaHasArgTypes r -> Some (List.toArray r) | _ -> None)
if overloadsWhichAreFuncAtThisPosition.Length > 0 then
let minFuncArity = overloadsWhichAreFuncAtThisPosition |> Array.minBy List.length |> List.length
let minFuncArity = overloadsWhichAreFuncAtThisPosition |> Array.minBy Array.length |> Array.length
let prefixOfLambdaArgsForEachOverload = overloadsWhichAreFuncAtThisPosition |> Array.map (Array.take minFuncArity)

if prefixOfLambdaArgsForEachOverload.Length > 0 then