Граф коммитов

12731 Коммитов

Автор SHA1 Сообщение Дата
Patrick Stevens 807489fea1
Add fallback range to more typars (#15301)
* Add fallback range

* Revert

* Reinstate

* Complete

* Naming
2023-06-05 18:15:31 +00:00
Nikola Milosavljevic 5101dab036 Revert sourcelink update 2023-06-05 16:45:44 +00:00
Florian Verdonck 7abc6b518b
Symbol Signature text API (#15275)
* Proof of concept

* Update src/Compiler/Symbols/Symbols.fsi

---------

Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2023-06-05 15:22:19 +00:00
Florian Verdonck b441d77a32
Add GetSymbolUsesAtLocation API. (#15285)
* Add GetSymbolUsesAtLocation API.

* Reuse new method in GetSymbolUseAtLocation.
2023-06-05 16:30:49 +02:00
Vlad Zarytovskii 7648aed34f
Merge branch 'release/dev17.7' into darc-release/dev17.7-9b834e44-06ca-448c-8840-49f06aaf6cb1 2023-06-05 15:45:34 +02:00
dotnet-maestro[bot] 60f10788ca Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230602.3
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23262.1 -> To Version 8.0.0-alpha.1.23302.3

Dependency coherency updates

Microsoft.SourceLink.GitHub
 From Version 8.0.0-beta.23218.3 -> To Version 8.0.0-beta.23227.4 (parent: Microsoft.DotNet.Arcade.Sdk
2023-06-05 13:15:18 +00:00
kerams fd25719855
Improve implied lambda and delegate argument names (#15277)
* Improve implied lambda and delegate argument names

* Fix

* Add tests

* Revert non-preview tests

* Sigh

* Re-revert

* Fix test

* Add testx
2023-06-05 13:44:43 +02:00
Florian Verdonck 97c650fe28
Signature of nested type with generic type parameter (#15259)
* Proof of concept

* Add generic parameter names to ModuleOrType.

* Revert ModuleOrType change

* Process ticks in demangledPath of TType_app.

* Only apply new logic when includeStaticParametersInTypeNames is active.

* Use FactForNETCOREAPP

* Fix build

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2023-06-05 13:24:03 +02:00
Sudqi aab21e5fc2
Don't show inline hint for arguments with same names as the parameters in DU (#15305) 2023-06-05 11:54:16 +02:00
dotnet bot e914f23243
add review comment to sb files (#15288) (#15302)
* add review comment to sb files

* add CODEOWNERS entry for source-build

Co-authored-by: Oleksandr Didyk <106967057+oleksandr-didyk@users.noreply.github.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
2023-06-05 11:52:19 +02:00
Kevin Ransom (msft) 8e25657e99
Merge pull request #15299 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
2023-06-02 10:29:55 -07:00
Kevin Ransom (msft) 9548de4467
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7 2023-06-02 09:43:12 -07:00
Oleksandr Didyk 7fd0aa5689
add review comment to sb files (#15288)
* add review comment to sb files

* add CODEOWNERS entry for source-build
2023-06-02 09:39:08 -07:00
Vlad Zarytovskii ba7f9c84ee
Merge pull request #15296 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
2023-06-02 16:38:06 +02:00
Kevin Ransom (msft) 289ab1c532
Fix package build (#15264) 2023-06-02 16:37:39 +02:00
Vlad Zarytovskii be9eedfb09
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7 2023-06-02 15:01:13 +02:00
Kevin Ransom (msft) 4c10418e1a
Move deterministic tests from fsharpqa to componenttests (#15283)
* determinismtests

* PathMap path seperator

* PathMap path seperator
2023-06-02 12:32:10 +02:00
Florian Verdonck d6e0f493fd
Reuse synTypar names when typar is resolved. (#15287)
* Reuse synTypar names when typar is resolved.
2023-06-02 10:44:44 +02:00
Kevin Ransom (msft) e939bcabd1
Merge pull request #15292 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
2023-06-01 12:23:19 -07:00
Kevin Ransom (msft) 495e40d760
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7 2023-06-01 11:35:31 -07:00
Tomas Grosup c4ad09a4c6
Removing unreachable code (#15281)
* Removing unreachable code

* Automated command ran: fantomas

  Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-01 11:17:45 +02:00
Kevin Ransom (msft) 12894e6bbc
Merge pull request #15284 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
2023-05-31 18:30:59 -07:00
Kevin Ransom (msft) c6f2989ec7
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7 2023-05-31 18:29:36 -07:00
dotnet bot 5a373f8dd7
Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2191321 (#15282)
* Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2191321

* Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2191321
2023-05-31 11:29:55 -07:00
dotnet bot 81752bbf7e
Merge main to release/dev17.7 (#15278)
* LexFilter: cleanup whitespaces (#15250)

* Parser: rewrite tuple expr recovery to allow better items recovery (#15227)

* Checker: recover on unknown record fields (#15214)

* Make anycpu work correctly on Arm64 (#15234)

* Makeanuycpu work correctly on arm64

* Update Microsoft.FSharp.Targets

* Fix15254 (#15257)

* Deploy only compressed metadata for dotnet sdk implementation (#15230)

* compress fsharp for sdk

* Update FSharp.DependencyManager.Nuget.fsproj

* Parser: more binary expressions recovery (#15255)

* Use background CancellableTask in VS instead of async & asyncMaybe (#15187)

* wip

* iteration

* iteration: quickinfo, help context

* fantomas

* todo

* moved tasks to editor project, fixed comment colouring bug

* fantomas

* Fantomas + PR feedback

* Update vsintegration/src/FSharp.Editor/Hints/HintService.fs

Co-authored-by: Andrii Chebukin <xperiandri@live.ru>

* Revert "Update vsintegration/src/FSharp.Editor/Hints/HintService.fs"

This reverts commit bf51b312ca.

---------

Co-authored-by: Andrii Chebukin <xperiandri@live.ru>

* Name resolution: actually add reported item when trying to replace (#14772)

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>

* Move flatErrors tests from fsharpqa (#15251)

* temp

* tests

* flaterrors

* update tests

* preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings (#15243)

* preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings

* use fallback range only for range0

* pattern match instead of Option.isSome

* Add test

* Revert "Add test"

This reverts commit e05e808ec9.

* Make `FSharpReferencedProject` representation public (#15266)

* Make FSharpReferencedProject representation public

* Update surface area

* Fantomas

* Fantomas

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>

* Fix navigation for external enums, DUs and name resultion for members (#15270)

* Update FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl

* Add warning when compiler selects among multiple record type candidates, fslang-suggestion 1091 (#15256)

* Protect assembly exploration for C# extension members (#15271)

* Compute ValInline.Never for externs (#15274)

* Compute ValInline.Never for externs

---------

Co-authored-by: Eugene Auduchinok <eugene.auduchinok@jetbrains.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
Co-authored-by: Andrii Chebukin <xperiandri@live.ru>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: dawe <dawedawe@posteo.de>
2023-05-31 11:38:19 +00:00
Vlad Zarytovskii 8bed194fe6
Compute ValInline.Never for externs (#15274)
* Compute ValInline.Never for externs
2023-05-30 19:24:02 +02:00
Vlad Zarytovskii ae8d3dd60c
Protect assembly exploration for C# extension members (#15271) 2023-05-29 17:56:34 +02:00
dawe 00fae43691
Add warning when compiler selects among multiple record type candidates, fslang-suggestion 1091 (#15256) 2023-05-29 17:04:17 +02:00
Vlad Zarytovskii cd3b581d08
Update FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl 2023-05-29 16:42:01 +02:00
Vlad Zarytovskii 146611def7
Fix navigation for external enums, DUs and name resultion for members (#15270) 2023-05-29 16:38:31 +02:00
dotnet-maestro[bot] 21c7f1c799 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230524.2
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23262.1 -> To Version 8.0.0-alpha.1.23274.2

Dependency coherency updates

Microsoft.SourceLink.GitHub
 From Version 8.0.0-beta.23218.3 -> To Version 8.0.0-beta.23227.4 (parent: Microsoft.DotNet.Arcade.Sdk
2023-05-29 13:12:03 +00:00
Eugene Auduchinok e3c395d41c
Make `FSharpReferencedProject` representation public (#15266)
* Make FSharpReferencedProject representation public

* Update surface area

* Fantomas

* Fantomas

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2023-05-29 14:30:04 +02:00
dawe bcde7074a9
preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings (#15243)
* preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings

* use fallback range only for range0

* pattern match instead of Option.isSome

* Add test

* Revert "Add test"

This reverts commit e05e808ec9.
2023-05-29 14:07:56 +02:00
Kevin Ransom (msft) ebd758e44f
Move flatErrors tests from fsharpqa (#15251)
* temp

* tests

* flaterrors

* update tests
2023-05-26 15:25:16 -07:00
Eugene Auduchinok 175736d822
Name resolution: actually add reported item when trying to replace (#14772)
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2023-05-26 18:04:14 +02:00
Vlad Zarytovskii 271790cf91
Use background CancellableTask in VS instead of async & asyncMaybe (#15187)
* wip

* iteration

* iteration: quickinfo, help context

* fantomas

* todo

* moved tasks to editor project, fixed comment colouring bug

* fantomas

* Fantomas + PR feedback

* Update vsintegration/src/FSharp.Editor/Hints/HintService.fs

Co-authored-by: Andrii Chebukin <xperiandri@live.ru>

* Revert "Update vsintegration/src/FSharp.Editor/Hints/HintService.fs"

This reverts commit bf51b312ca.

---------

Co-authored-by: Andrii Chebukin <xperiandri@live.ru>
2023-05-25 14:10:44 +00:00
Eugene Auduchinok 3cdf2d26ce
Parser: more binary expressions recovery (#15255) 2023-05-25 12:46:08 +02:00
Kevin Ransom (msft) 0d81a05228
Deploy only compressed metadata for dotnet sdk implementation (#15230)
* compress fsharp for sdk

* Update FSharp.DependencyManager.Nuget.fsproj
2023-05-24 17:49:47 +00:00
Kevin Ransom (msft) 635d7239c7
Fix15254 (#15257) 2023-05-24 13:18:06 +02:00
Vlad Zarytovskii c9ae2222f1
Merge branch 'release/dev17.7' into darc-release/dev17.7-9b834e44-06ca-448c-8840-49f06aaf6cb1 2023-05-24 13:02:26 +02:00
Kevin Ransom (msft) bacdc8adad
Make anycpu work correctly on Arm64 (#15234)
* Makeanuycpu work correctly on arm64

* Update Microsoft.FSharp.Targets
2023-05-23 11:38:38 -07:00
Eugene Auduchinok 2ef33c4edf
Checker: recover on unknown record fields (#15214) 2023-05-23 16:26:24 +02:00
Eugene Auduchinok 024b98d080
Parser: rewrite tuple expr recovery to allow better items recovery (#15227) 2023-05-23 16:25:30 +02:00
Eugene Auduchinok 448ab61445
LexFilter: cleanup whitespaces (#15250) 2023-05-23 11:48:44 +02:00
Kevin Ransom (msft) 96bfa24a5f
Merge pull request #15246 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
2023-05-22 18:25:15 -07:00
dotnet-maestro[bot] c5be89c742 Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230522.1
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23262.1 -> To Version 8.0.0-alpha.1.23272.1

Dependency coherency updates

Microsoft.SourceLink.GitHub
 From Version 8.0.0-beta.23218.3 -> To Version 8.0.0-beta.23227.4 (parent: Microsoft.DotNet.Arcade.Sdk
2023-05-22 13:19:01 +00:00
Vlad Zarytovskii 07dbf060b5
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7 2023-05-22 14:13:28 +02:00
Eugene Auduchinok 78de3086ab
Fix FSharp.Core reference (#15244) 2023-05-22 13:27:01 +02:00
Eugene Auduchinok d927ddb155
Parser: fix tree nodes in 'if' expression recovery rules (#15229)
* Parser: fix tree nodes in 'if' expression recovery rules

* Fix reporting error
2023-05-22 13:25:55 +02:00
Kevin Ransom (msft) 2341436410
Merge pull request #15240 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
2023-05-21 01:51:23 -07:00